Chart:...HighLow(3pm)
π Chart::Clicker::Data::Series::HighLow β bestie edition β¨
okay so this is a page from the User Contributed Perl Documentation (section 3pm of the Perl manual, iykyk), and it's all about a lil data class that's giving very much "I hold your stock chart numbers for you". No cap. π
π NAME π
Chart::Clicker::Data::Series::HighLow β series data with extra attributes for High-Low charts. It's the glow-up version of your regular series, bestie. π¦
πΈ VERSION πΈ
This is version 2.90. Periodt.
β¨ SYNOPSIS β¨
here's the vibe, literally copy-paste it:
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
});
not you setting up five whole arrays before you even start π iconic behavior honestly.
π DESCRIPTION π
Chart::Clicker::Data::Series::HighLow is an extension of the Series class, and the way it works is it stores three brand new variables for you, made specifically to feed the CandleStick renderer. π―οΈ
the general idea is this, look at her go:
--- <-- High
|
|
- <-- max of Open, Value
| |
| |
- <-- min of Open, Value
|
|
--- <-- Low
so you've got the high up top π, the low down at the bottom, and then the middle two lines are tucked in between β one is the max of Open, Value and the other is the min of Open, Value. that's the whole candlestick situation. ate. π₯
π ATTRIBUTES π
β highs
Set/Get the highs for this series.
β lows
Set/Get the lows for this series.
β opens
Set/Get the opens for this series.
set/get, set/get, set/get. she's consistent, she's reliable, she's the moment. π
π METHODS π
π« add_to_highs
Adds a high to this series.
π« get_high ($index)
Get a high by it's index.
π« high_count
Gets the count of sizes in this series.
π« add_to_lows
Adds a high to this series.
π« get_low ($index)
Get a low by it's index.
π« low_count
Gets the count of lows in this series.
π« add_to_opens
Adds an open to this series.
π« get_open
Get an open by it's index.
π« open_count
Gets the count of opens in this series.
π not me reading "get_open" and noticing it's the only getter up in here without a ($index) next to it while all its siblings have one. the documentation says what it says, bestie β I'm just the messenger π«Ά
π AUTHOR π
Cory G Watson <gphat@cpan.org> β we stan. π
π¦ COPYRIGHT AND LICENSE π¦
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.
like... free software, same terms as Perl 5 itself, go wild, just don't be weird about it. π
and that's the whole page, bestie! this one came to you from perl v5.36.0, dated 2022-10-14, under the manual name you already know and love β stay slay, go chart something pretty β¨π π
π¦ where this page comes from
- ubuntu noble: libchart-clicker-perl 2.90-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libchart-clicker-perl 2.90-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libchart-clicker-perl 2.90-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms