
Chart::OFC::YAxis - Y axis for grid charts

version 0.11

This class represents the Y 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.
Note that because its label is display vertically, Unicode characters in the label will not display correctly, according to the OFC docs.
This is the minimum value to show on the Y axis. It must be a number.
Defaults to 0.
This is the maximum value to show on the Y axis. It must be a number.
This attribute is required.
The size of a small tick, in pixels.
Defaults to 5.
The size of a large tick, in pixels.
Defaults to 10.
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).

This class does the Chart::OFC::Role::OFCDataLines role.

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)