Rob Kinyon > Graph-Template-0.05 > Graph::Template::Element::DataPoint

Download:
Graph-Template-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Graph::Template::Element::DataPoint

PURPOSE ^

To provide parameter substitution.

NODE NAME ^

DATAPOINT

INHERITANCE ^

Graph::Template::Element

ATTRIBUTES ^

CHILDREN ^

None

EFFECTS ^

None

DEPENDENCIES ^

None

USAGE ^

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.

AUTHOR ^

Rob Kinyon (rkinyon@columbus.rr.com)

SEE ALSO ^

DATA

syntax highlighting: