The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

  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.

COPYRIGHT & LICENSE

Copyright 2007-2008 Dave Rolsky, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.