Chart:...kedArea(3pm)

πŸ“¦
version 2.90 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 🫑


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