Chart::OFC::Dataset::LineWithDots - A dataset represented as a line with dots for each value
version 0.11
my $line = Chart::OFC::Dataset::Line->new( values => \@numbers, width => 5, color => 'purple', label => 'Daily Sales in $', text_size => 12, solid_dots => 1, );
This class contains values to be charted as a line on a grid chart.
This class has several attributes which may be passed to the new() method.
new()
It is a subclass of Chart::OFC::Dataset::Line and accepts all of that class's attributes as well as its own.
Chart::OFC::Dataset::Line
If true, the dots are solid, if not they are hollow.
Defaults to true.
The size of the dots in pixels.
Defaults to 5.
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.