Dave Rolsky > Chart-OFC > Chart::OFC::YAxis

Download:
Chart-OFC-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Source  

NAME ^

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

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.

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.