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.

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)