NAME

Hypatia::Chart::Clicker - Hypatia Bindings for Chart::Clicker

VERSION

version 0.023

SYNOPSIS

This module extends Hypatia::Base, so all of the methods and attributes are inherited. The currently-supported graph_types are:

  • Area (stacked or not)

  • Bar (stacked or not)

  • Bubble

  • Line (stacked or not)

  • Pie

  • Point

ATTRIBUTES

input_data (overridden from Hypatia)

This data, if provided, must be a hash reference of array references, where the keys represent the "column names" and the array references represent the (numeric) values of the given column. Furthermore, if this attribute is set, then each column type in the columns attribute must appear in the keys of input_data and all of the array references must be of the same length and cannot contain any undef entries.

data_series_names

In Chart::Clicker, every chart has one or more data set (ie Chart::Clicker::Data::Set) and each data set has one or more data series (ie Chart::Clicker::Data::Series). Each data series has an optional name attribute. The value(s) for this attribute (either a string or an array reference of strings) is passed directly into the name attribute for each data series. This attribute is optional, and if it's not used, then a submodule-dependent default will be supplied (usually the relevant y column name).

EXAMPLES

Take a look at the examples folder included with this distribution.

KNOWN ISSUES

For reasons I don't understand, not all systems seem to render the Chart::Clicker objects correctly. I've tested the examples on Open SuSE, Windows 7, and CentOS. The first system rendered the graphics correctly, the second renders almost correctly save for missing axis ticks, and the third only seems to render blank white rectangles.

AUTHOR

Jack Maney <jack@jackmaney.com>

COPYRIGHT AND LICENSE

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.