|
NAMEChart::Clicker::Data::Series::HighLow - Series data with additional attributes for High-Low charts VERSIONversion 2.90 SYNOPSIS 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
});
DESCRIPTIONChart::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 ATTRIBUTEShighsSet/Get the highs for this series. lowsSet/Get the lows for this series. opensSet/Get the opens for this series. METHODSadd_to_highsAdds a high to this series. get_high ($index)Get a high by it's index. high_countGets the count of sizes in this series. add_to_lowsAdds a high to this series. get_low ($index)Get a low by it's index. low_countGets the count of lows in this series. add_to_opensAdds an open to this series. get_openGet an open by it's index. open_countGets the count of opens in this series. AUTHORCory G Watson <gphat@cpan.org> COPYRIGHT AND LICENSEThis 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.
|