Dave Rolsky > Chart-OFC > Chart::OFC::Dataset

Download:
Chart-OFC-0.12.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.12   Source  

NAME ^

Chart::OFC::Dataset - A set of values to be charted

VERSION ^

version 0.12

SYNOPSIS ^

    my @numbers = (1, 2, 3);
    my $dataset = Chart::OFC::Dataset->new( values => \@numbers );

DESCRIPTION ^

This class represents a set of values that will be charted along the X axis of a chart (or as pie slices).

ATTRIBUTES ^

This class has one attribute which may be passed to the new() method.

values

This should be an array reference containing one more numbers representing values to be plotted on the chart. On grid charts, these are plotted on the X axis.

This attribute is required, and must contain at least one value.

links

This is an optional attribute which may be an array reference of links, one per value.

ROLES ^

This class does the Chart::OFC::Role::OFCDataLines role.

AUTHOR ^

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2014 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: