Dave Rolsky > Chart-OFC-0.07 > Chart::OFC::Axis

Download:
Chart-OFC-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Source   Latest Release: Chart-OFC-0.09

NAME ^

Chart::OFC::Axis - Base class for axis classes

DESCRIPTION ^

This class is the base class for the X and Y axis classes. It provides several attributes which are shared between these two subclasses.

ATTRIBUTES ^

This class has a number of attributes which may be passed to the new() method.

text_size

The size of tick labels for the axis, in pixels.

Defaults to 10.

text_color

The default color of tick labels.

Defaults to "#784016".

axis_color

The color of the axis line itself

This attribute is optional.

grid_color

The color of grid lines for this axis.

This attribute is optional.

axis_label

This is the label for the axis as a whole. This can be either a string, a hash reference or an a Chart::OFC::AxisLabel object.

If given a string or hash reference, the constructor will create a new Chart::OFC::AxisLabel object. If just a string is given, this is used as the label text.

This attribute is required.

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.