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

Download:
Chart-OFC-0.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.11   Source   Latest Release: Chart-OFC-0.12

NAME ^

Chart::OFC::Dataset::LineWithDots - A dataset represented as a line with dots for each value

VERSION ^

version 0.11

SYNOPSIS ^

  my $line = Chart::OFC::Dataset::Line->new( values     => \@numbers,
                                             width      => 5,
                                             color      => 'purple',
                                             label      => 'Daily Sales in $',
                                             text_size  => 12,
                                             solid_dots => 1,
                                           );

DESCRIPTION ^

This class contains values to be charted as a line on a grid chart.

ATTRIBUTES ^

This class has several attributes which may be passed to the new() method.

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

solid_dots

If true, the dots are solid, if not they are hollow.

Defaults to true.

dot_size

The size of the dots in pixels.

Defaults to 5.

ROLES ^

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

AUTHOR ^

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE ^

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

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: