Chart:...kedArea(3pm)
π Chart::Clicker::Renderer::StackedArea β the manual, but make it cute π
okay bestie, you found the Chart::Clicker::Renderer::StackedArea page (that's the Stacked Area renderer, part of the Chart::Clicker family, and yes it lives in the perl manual, section 3pm π«Ά). version 2.90, fresh-ish, let's get into it.
β¨ SYNOPSIS β¨
here's the whole vibe in one little snippet, no notes:
my $ar = Chart::Clicker::Renderer::StackedArea->new({
fade => 1,
brush => Graphics::Primitive::Brush->new({
width => 2
})
});
like. look at her. fade on, brush width 2. iconic behavior honestly π
πΈ DESCRIPTION πΈ
so what does Chart::Clicker::Renderer::StackedArea actually do? it renders a dataset as line-like polygons, and then stacks those polygons on top of one another. that's the whole thing. stacked. area. truly it's giving layers, it's giving depth, it's giving "my data has structure and we're showing it off" β¨
β οΈ NOTES β οΈ
okay queen, real talk, there's a lil catch and I need you to hear me:
note that series with varying keys (e.g. Series 1 has keys 1, 2, 3 but Series 2 only has 1 and 3) will cause you some problems. since the keys don't match up, neither will the accumulation of area. sad! tragic! not the vibe we wanted π
this may be addressed in the future. so like... maybe. we'll see. for now, matching keys or perish, bestie.
π ATTRIBUTES π
brush
Set/Get the brush β and to be clear, this is the brush that informs the line surrounding the area and how it renders individual segments. so it's not like, a makeup brush. it's a Graphics::Primitive::Brush. still slay though.
fade
Set/Get the fade flag. flip it on and you get a gradient turned on in the area renderer. flip it off and it's flat. your call, main character.
opacity
Set/Get the alpha value for the renderer, which makes things more or less opaque. yes, that's literally what it says β more or less opaque. it's the see-through dial. turn it and the whole thing goes ghosty or solid π¦
π«Ά AUTHOR π«Ά
Cory G Watson <gphat@cpan.org> β thank you for your service, king π«‘
π 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.
so basically: it's free software, you can redistribute it, you can modify it, same terms as Perl 5. that's the deal π
and that's the page, bestie!! go stack some areas, keep your keys matching, and remember β this was served to you by perl v5.36.0, dated 2022-10-14. periodt. πβπ
π¦ 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