VS::Chart::Renderer::Line - Renders a line chart
This class implements a standard line chart.
The width of the line to draw. Defaults to 4 points.
Sets the dash length for the line. Defaults to 0 (no dash). Can also be set on a specific dataset.
The color a dataset is drawn with it taken from the datasets attribute color if such is defined. Otherwise the color which is used is selected from the dataset_-series in VS::Chart::Color where the index is the dataset number modulus 16.
Returns the type of chart we render, in this case line.
Render CHART to SURFACE. Calls render in VS::Chart::Renderer::XY first.
VS::Chart::Renderer::XY
Renders the charts background. This is the area on which the actually data will be drawn, and not the axes, labels or ticks. The WIDTH and HEIGHT are calculated by taking their respetive values minus any offsets.
To install VS::Chart, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VS::Chart
CPAN shell
perl -MCPAN -e shell install VS::Chart
For more information on module installation, please visit the detailed CPAN module installation guide.