Hypatia::Chart::Clicker::Role::XY - Column Guessing and DataSet Building for Most Graph Types
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
xand the second of type
- 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
xand all remaining columns are considered to be of type
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.