Take me over?
NAME
Chart::OFC::XAxis - X axis for grid charts
DESCRIPTION
This class represents the X axis for a grid chart.
ATTRIBUTES
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.
labels
This should be an array reference containing one or more labels for the X axis.
This attribute is optional.
label_steps
Show a label every N values.
This defaults to 1, but you should change this for large datasets.
tick_steps
Show a tick every N values.
This attribute is optional. OFC seems to do a reasonably good job of calculating a default.
three_d_height
Setting this to some integer makes the X axis display with a 3D effect. You should set this if your chart contains 3D bars.
orientation
This can be one of "horizontal", "vertical", or "diagonal". According to the OFC docs, Unicode characters will only display properly horizontally.
Defaults to "horizontal".
ROLES
This class does the Chart::OFC::Role::OFCDataLines
role.
COPYRIGHT & LICENSE
Copyright 2007-2008 Dave Rolsky, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.