Take me over?
NAME
Chart::OFC::YAxis - Y axis for grid charts
VERSION
version 0.12
DESCRIPTION
This class represents the Y 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.
Note that because its label is display vertically, Unicode characters in the label will not display correctly, according to the OFC docs.
min
This is the minimum value to show on the Y axis. It must be a number.
Defaults to 0.
max
This is the maximum value to show on the Y axis. It must be a number.
This attribute is required.
small_tick_size
The size of a small tick, in pixels.
Defaults to 5.
large_tick_size
The size of a large tick, in pixels.
Defaults to 10.
label_steps
Show a label every N values.
This attribute is required.
Note that the definition of this attribute is different than how OFC defines it, but is consistent with the same attribute for the X axis (unlike OFC).
ROLES
This class does the Chart::OFC::Role::OFCDataLines
role.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2014 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)