NAME

Chart::OFC::AxisLabel - A label for an axis

SYNOPSIS

my $label = Chart::OFC::AxisLabel->new( label      => 'Some Text',
                                        text_color => 'blue',
                                        text_size  => 15,
                                      );

DESCRIPTION

This class represents a label for a whole axis, as opposed to the labels for the ticks on that axis.

ATTRIBUTES

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

label

The text for the label.

This attribute is required.

text_color

The default color of tick labels.

Defaults to "#000000" (black).

text_size

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

Defaults to 20.

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.