Chart::OFC::Dataset - A set of values to be charted
version 0.11
my $dataset = Chart::OFC::Dataset->new( values => \@numbers );
This class represents a set of values that will be charted along the X axis of a chart (or as pie slices).
This class has one attribute which may be passed to the new() method.
new()
This should be an array reference containing one more numbers representing values to be plotted on the chart. On grid charts, these are plotted on the X axis.
This attribute is required, and must contain at least one value.
This is an optional attribute which may be an array reference of links, one per value.
This class does the Chart::OFC::Role::OFCDataLines role.
Chart::OFC::Role::OFCDataLines
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2012 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Chart::OFC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::OFC
CPAN shell
perl -MCPAN -e shell install Chart::OFC
For more information on module installation, please visit the detailed CPAN module installation guide.