Dave Rolsky > Chart-OFC-0.11 > Chart::OFC::AxisLabel

Download:
Chart-OFC-0.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.11   Source   Latest Release: Chart-OFC-0.12

NAME ^

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

VERSION ^

version 0.11

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.

AUTHOR ^

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2012 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: