Chart::Clicker::Data::Series::HighLow - Series data with additional attributes for High-Low charts
Chart::Clicker::Data::Series::HighLow is an extension of the Series class that provides storage for a three new variables called for use with the CandleStick renderer. The general idea is:
--- <-- High | | - <-- max of Open, Value | | | | - <-- min of Open, Value | | --- <-- Low
use Chart::Clicker::Data::Series::HighLow; my $series = Chart::Clicker::Data::Series::HighLow->new({ keys => \@keys, values => \@values, highs => \@highs, lows => \@lows, opens => \@opens });
Set/Get the highs for this series.
Set/Get the lows for this series.
Set/Get the opens for this series.
Creates a new, empty Series::Size
Adds a high to this series.
Adds an open to this series.
Get a high by it's index.
Get a low by it's index.
Get an open by it's index.
Gets the count of sizes in this series.
Gets the count of lows in this series.
Gets the count of opens in this series.
Cory G Watson <gphat@cpan.org>
You can redistribute and/or modify this code under the same terms as Perl itself.
1;
To install Chart::Clicker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::Clicker
CPAN shell
perl -MCPAN -e shell install Chart::Clicker
For more information on module installation, please visit the detailed CPAN module installation guide.