Take me over?
NAME
Chart::OFC::Dataset::Area - A dataset represented as a line with a filled area
SYNOPSIS
my $bars = Chart::OFC::Dataset::Area->new( values => \@numbers,
dot_size => 3,
opacity => 60,
color => 'blue',
fill_color => 'purple',
label => 'Daily Sales in $',
text_size => 12,
);
DESCRIPTION
This class contains values to be charted as a dotted line with a filled area between the line and the X axis.
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.
opacity
This defines how opaque the bars are. When they are moused over, they become fully opaque.
Defaults to 80 (percent).
fill_color
The color used to fill the area between the line and the X axis.
This attribute is optional. If it is not provided, then OFC uses the color of the line itself (set with the color
attribute).
dot_size
The size of the dots in pixels.
Defaults to 5.
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.