From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

new

Title : new
Usage : you should not be calling new, see add_frame
Function:
Example :
Returns :
Args :

init

Title : init
Usage :
Function:
Example :
Returns :
Args :

add_glyph

Title : add_glyph
Usage : $frame->add_glyph( 'glyph_name', glyph_args=>arg)
Function: adds a glyph to the Frame object
Returns : a SVG::Graph::Glyph::glyph_name object
Args : glyph dependent

add_frame

Title : add_frame
Usage : my $frame = $graph->add_frame
Function: adds a Frame to the current Frame
Returns : a SVG::Graph::Frame object
Args : (optional) frame_transform => 'top' default orientation
'bottom' rotates graph 180 deg (about the center)
'right' points top position towards right
'left' points top position towards left

frames

Title : frames
Usage :
Function:
Example :
Returns :
Args :

add_data

Title : add_data
Usage : $frame->add_data($data)
Function: adds a SVG::Graph::Data object to the current Frame
Returns : none
Args : SVG::Graph::Data object

all_data

Title : all_data
Usage :
Function:
Example :
Returns :
Args :

data

Title : data
Usage :
Function:
Example :
Returns :
Args :

glyphs

Title : glyphs
Usage :
Function:
Example :
Returns :
Args :

data_chunks

Title : data_chunks
Usage :
Function:
Example :
Returns :
Args :

draw

Title : draw
Usage : should not directly call this method, see SVG::Graph->draw
Function: depends on child glyph implementations
Example :
Returns :
Args :

_recalculate_stats

Title : _recalculate_stats
Usage :
Function:
Example :
Returns :
Args :

_parent_svg

Title : _parent_svg
Usage : $obj->_parent_svg($newval)
Function:
Example :
Returns : value of _parent_svg (a scalar)
Args : on set, new value (a scalar or undef, optional)

_parent_frame

Title : _parent_frame
Usage : $obj->_parent_frame($newval)
Function:
Example :
Returns : value of _parent_frame (a scalar)
Args : on set, new value (a scalar or undef, optional)

svg

Title : svg
Usage : $obj->svg($newval)
Function:
Example :
Returns : value of svg (a scalar)
Args : on set, new value (a scalar or undef, optional)

xsize

Title : xsize
Usage : $obj->xsize($newval)
Function:
Example :
Returns : value of xsize (a scalar)
Args : on set, new value (a scalar or undef, optional)

ysize

Title : ysize
Usage : $obj->ysize($newval)
Function:
Example :
Returns : value of ysize (a scalar)
Args : on set, new value (a scalar or undef, optional)

xoffset

Title : xoffset
Usage : $obj->xoffset($newval)
Function:
Example :
Returns : value of xoffset (a scalar)
Args : on set, new value (a scalar or undef, optional)

yoffset

Title : yoffset
Usage : $obj->yoffset($newval)
Function:
Example :
Returns : value of yoffset (a scalar)
Args : on set, new value (a scalar or undef, optional)

xmin

Title : xmin
Usage : $obj->xmin($newval)
Function:
Example :
Returns : value of xmin (a scalar)
Args : on set, new value (a scalar or undef, optional)

xmax

Title : xmax
Usage : $obj->xmax($newval)
Function:
Example :
Returns : value of xmax (a scalar)
Args : on set, new value (a scalar or undef, optional)

ymin

Title : ymin
Usage : $obj->ymin($newval)
Function:
Example :
Returns : value of ymin (a scalar)
Args : on set, new value (a scalar or undef, optional)

ymax

Title : ymax
Usage : $obj->ymax($newval)
Function:
Example :
Returns : value of ymax (a scalar)
Args : on set, new value (a scalar or undef, optional)

xrange

Title : xrange
Usage : $obj->xrange($newval)
Function:
Example :
Returns : value of xrange (a scalar)

yrange

Title : yrange
Usage : $obj->yrange($newval)
Function:
Example :
Returns : value of yrange (a scalar)

stack

Title : stack
Usage : $obj->stack($newval)
Function:
Example :
Returns : value of stack (a scalar)
Args : on set, new value (a scalar or undef, optional)