The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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).

It is a subclass of Chart::OFC::Bar and accepts all of that class's attributes as well as its own.

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 for the X axis of the chart.

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

ROLES

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

COPYRIGHT & LICENSE

Copyright 2007 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.