| Chart-OFC documentation | view source | Contained in the Chart-OFC distribution. |
Chart::OFC::Dataset::Candle - A dataset represented as a candle for each value
version 0.10
my @numbers = ( [ 1, 2, 3 ], [ 3, 2, 1 ] );
my $hlc =
Chart::OFC::Dataset::Candle->new
( values => \@numbers,
width => 5,
color => 'purple',
label => 'Daily Sales in $',
text_size => 12,
opacity => 80,
);
This class contains values to be charted as candle points on a grid chart.
This class has several attributes which may be passed to the new()
method.
It is a subclass of Chart::OFC::Dataset::HighLowClose and accepts all of
that class's attributes. It has no attributes of its own.
This class does the Chart::OFC::Role::OFCDataLines role.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
| Chart-OFC documentation | view source | Contained in the Chart-OFC distribution. |