- COPYRIGHT AND LICENSE
Hypatia::Chart::Clicker::Options::Axis - Options to apply to axes in Chart::Clicker via Hypatia
Attributes of the following object types can be coerced from the following:
Graphics::Color::RGB from either a hash reference with keys of
a(and values between 0 and 1) or a number between 0 and 1 that is passed in for each of
Chart::Clicker::Data::Range (for axis ranges) from an array reference of two numbers, the first of which needs to be smaller than the second. The numbers in question are passed into the
maxattributes of the Chart::Clicker::Data::Range object in question.
Graphics::Primitive::Font from a hash reference.
Also, the attributes denoting positions are enums with values of
The color of the axis. Of course, this is a Graphics::Color::RGB object.
The default is
The percentage (expressed as a number between 0 and 1) by which the axis will grow at both ends (as a "fudge factor").
The default is 0.
A boolean value to determine whether or not the axis will be hidden on the plot. The default is 0.
The label of the axis. This attribute is optional.
A Graphics::Color::RGB object representing the color of the label.
The position of the axis on the chart (one of left, right, top, or bottom). This attribute is optional.
A Chart::Clicker::Data::Range object representing the range of the axis. This attribute is optional.
A boolean representing whether or not ticks and labels should be shown for the given axis. The default is 1.
A boolean representing whether or not the tick labels alternate between one side of the axis and the other. The default is 0.
A Graphics::Primitive::Font object representing the font for the tick labels.
The angle--measured in radians--to rate the tick labels. The default is 0.
A Graphics::Color::RGB object representing the color of the tick labels. The default is black.
An array reference of labels to apply to ticks (in order). See Chart::Clicker::Axis for more details.
An array reference of values denoting where the ticks should be on the axis. See Chart::Clicker::Axis for more details.
The number of ticks to show. See Chart::Clicker::Axis for more details.
Jack Maney <email@example.com>
This software is copyright (c) 2012 by Jack Maney.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.