Hypatia::Chart::Clicker::Options - Options to apply to Chart::Clicker objects via Hypatia
version 0.026
Attributes of the following object types can be coerced from the following:
Graphics::Color::RGB from either a hash reference with keys of r, g, b, and a (and values between 0 and 1) or a number between 0 and 1 that is passed in for each of r, g, b, and a.
r
g
b
a
Hypatia::Chart::Clicker::Options::Axis from a hash reference.
#subtype "TitleOptions", as class_type("Hypatia::Chart::Clicker::Options::Title"); #coerce "TitleOptions", from "Str", via { Hypatia::Chart::Clicker::Options::Title->new({text=>$_}) }; #coerce "TitleOptions", from "HashRef", via { Hypatia::Chart::Clicker::Options::Title->new($_) };
These hash references are passed directly into Hypatia::Chart::Clicker::Options::Axis objects. Look at the documentation of that module for more details.
A Graphics::Color::RGB object that, unsurprisingly, controls the color of the background. The default is white.
A string: one of png, pdf, ps, or svg. The default is png.
png
pdf
ps
svg
The width and height of the resulting image. The defaults are 500 and 300, respectively.
One of north, west, east, south, or center. The default is south.
north
west
east
south
center
A Graphics::Primitive::Insets object representing the amount of padding (in pixels) for each of the sides of the chart. You may also pass in either a hash reference (with keys of top, bottom, right, and left having positive integer values), or a positive integer (which is then assigned to each of top, bottom, right, and left).
top
bottom
right
left
One of north, west, east, south, or center. The default is north.
Jack Maney <jack@jackmaney.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.
To install Hypatia::Chart::Clicker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hypatia::Chart::Clicker
CPAN shell
perl -MCPAN -e shell install Hypatia::Chart::Clicker
For more information on module installation, please visit the detailed CPAN module installation guide.