Chart:...er::Bar(3pm)
π Chart::Clicker::Renderer::Bar π
okay bestie, real talk β you're looking at the manual page for Chart::Clicker::Renderer::Bar from the User Contributed Perl Documentation, and it's giving "I draw bars, that's my whole personality." Let's get into it. π«Ά
β¨ NAME β¨
Chart::Clicker::Renderer::Bar β the Bar renderer, no cap. π
πΈ VERSION πΈ
version 2.90 β¨
π SYNOPSIS π
my $br = Chart::Clicker::Renderer::Bar->new;
That's it. That's the whole vibe. Make one, hand it over, bars happen. π
π¦ DESCRIPTION π¦
Chart::Clicker::Renderer::Bar renders a dataset as bars. That's the job, that's the assignment, and it ate. π₯
π NEGATIVE BARS π
If you'd like to render both "negative and positive" bars, go peek at Chart::Clicker::Axis's "baseline" attribute. Setting it will result in something like this:
bar_padding
(lowkey this one lives under here in the docs, so I'm keeping it right where it is β no notes) π«Ά
How much padding to put around a bar. A padding of 4 will result in 2 pixels on each side. Math! It's giving symmetry. β¨
π ATTRIBUTES π
bar_widthβ lets you override the calculation that figures out the optimal width for bars. Be careful using this though, because it can make things look terrible. Also note that this number is divided evenly between all the values in a series when you're charting multiple series. ngl, respect the calculation. πbrushβ set/get the brush to use around each bar.opacityβ set/get the alpha value to make each bar more or less opaque. Boom, transparency era. π
π§ AUTHOR π§
Cory G Watson <gphat@cpan.org> β legend behavior, fr fr. β
π 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. Slay, honestly. π
sign-off bestie: this page came to you courtesy of perl v5.36.0, dated 2022-10-14, and it's iconic. go make some bars, main character. π
πΈβ¨
π¦ 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