Graph::Template::Element::DataPoint
To provide parameter substitution.
DATAPOINT
Graph::Template::Element
VALUE
This is the value for this datapoint
None
This is used exactly like HTML::Template's TMPL_VAR. There is one exception - since you can have variable names inside the parameters, you can do something like:
<loop name="LOOPY"> <datapoint><var name="$SomeParam"/></datapoint> <datapoint value="$SomeParam_2"/> </loop>
This will create a graph with the X-axis being SomeParam and the Y-axis as SomeParam_2. The data structure to be used here is identical to the looping structure for TMPL_LOOP.
Rob Kinyon (rkinyon@columbus.rr.com)
DATA
1 POD Error
The following errors were encountered while parsing the POD:
=back doesn't take any parameters, but you said =back 4
To install Graph::Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Graph::Template
CPAN shell
perl -MCPAN -e shell install Graph::Template
For more information on module installation, please visit the detailed CPAN module installation guide.