Jack Maney > Hypatia-Chart-Clicker-0.022 > Hypatia::Chart::Clicker::Role::XY

Download:
Hypatia-Chart-Clicker-0.022.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.022   Source   Latest Release: Hypatia-Chart-Clicker-0.026

NAME ^

Hypatia::Chart::Clicker::Role::XY - Column Guessing and DataSet Building for Most Graph Types

VERSION ^

version 0.022

SYNOPSIS ^

This role serves up "default" methods for guessing columns and building a DataSet.

The default column guessing is as follows:

1. If there are exactly two columns, then the first column is considered to be of type x and the second of type y.
2. More generally, if there is an even number of columns, then they're paired off into the corresponding types:
    x, y, x, y,..., x, y
3. If there are an odd number of columns, then the first column is considered to be of type x and all remaining columns are considered to be of type y.

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.

syntax highlighting: