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

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::XAxis - X axis for grid charts

VERSION ^

version 0.11

DESCRIPTION ^

This class represents the X 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.

labels

This should be an array reference containing one or more labels for the X axis.

This attribute is optional.

label_steps

Show a label every N values.

This defaults to 1, but you should change this for large datasets.

tick_steps

Show a tick every N values.

This attribute is optional. OFC seems to do a reasonably good job of calculating a default.

three_d_height

Setting this to some integer makes the X axis display with a 3D effect. You should set this if your chart contains 3D bars.

orientation

This can be one of "horizontal", "vertical", or "diagonal". According to the OFC docs, Unicode characters will only display properly horizontally.

Defaults to "horizontal".

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: