Chart::Clicker::Data::Series::HighLow - Series data with additional attributes
for High-Low charts
use Chart::Clicker::Data::Series::HighLow;
my @keys = ();
my @values = ();
my @highs = ();
my @lows = ();
my @opens = ();
my $series = Chart::Clicker::Data::Series::HighLow->new({
keys => \@keys,
values => \@values,
highs => \@highs,
lows => \@lows,
opens => \@opens
});
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
Set/Get the highs for this series.
Set/Get the lows for this series.
Set/Get the opens for this series.
Adds a high to this series.
Get a high by it's index.
Gets the count of sizes in this series.
Adds a high to this series.
Gets the count of lows in this series.
Adds an open to this series.
Get an open by it's index.
Gets the count of opens in this series.
Cory G Watson <gphat@cpan.org>
This software is copyright (c) 2016 by Cory G Watson.
This is free software; you can redistribute it and/or modify it
under the same terms as the Perl 5 programming language system itself.