Chart::OFC::XAxis - X axis for grid charts
version 0.12
This class represents the X axis for a grid chart.
This class is a subclass of Chart::OFC::Axis and accepts all of that class's attribute. It has several attributes of its own which may be passed to the new() method.
Chart::OFC::Axis
new()
This should be an array reference containing one or more labels for the X axis.
This attribute is optional.
Show a label every N values.
This defaults to 1, but you should change this for large datasets.
Show a tick every N values.
This attribute is optional. OFC seems to do a reasonably good job of calculating a default.
Setting this to some integer makes the X axis display with a 3D effect. You should set this if your chart contains 3D bars.
This can be one of "horizontal", "vertical", or "diagonal". According to the OFC docs, Unicode characters will only display properly horizontally.
Defaults to "horizontal".
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.