Chart::OFC::Axis - Base class for axis classes
version 0.12
This class is the base class for the X and Y axis classes. It provides several attributes which are shared between these two subclasses.
This class has a number of attributes which may be passed to the new() method.
new()
The size of tick labels for the axis, in pixels.
Defaults to 10.
The default color of tick labels.
Defaults to "#784016".
The color of the axis line itself
This attribute is optional.
The color of grid lines for this axis.
This is the label for the axis as a whole. This can be either a string, a hash reference or an a Chart::OFC::AxisLabel object.
Chart::OFC::AxisLabel
If given a string or hash reference, the constructor will create a new Chart::OFC::AxisLabel object. If just a string is given, this is used as the label text.
This attribute is required.
This class does the Chart::OFC::Role::OFCDataLines role.
Chart::OFC::Role::OFCDataLines
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2014 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.