Chart::OFC::Dataset::Candle - A dataset represented as a candle for each value
version 0.12
my @numbers = ( [ 1, 2, 3 ], [ 3, 2, 1 ] ); my $candle = 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.
new()
It is a subclass of Chart::OFC::Dataset::HighLowClose and accepts all of that class's attributes. It has no attributes of its own.
Chart::OFC::Dataset::HighLowClose
This class does the Chart::OFC::Role::OFCDataLines role.
Chart::OFC::Role::OFCDataLines
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2014 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Chart::OFC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::OFC
CPAN shell
perl -MCPAN -e shell install Chart::OFC
For more information on module installation, please visit the detailed CPAN module installation guide.