Chart:...::Line(3pm)
π Chart::Clicker::Renderer::Line π
okay so bestie, this is the line renderer for Chart::Clicker β landed in the User Contributed Perl Documentation section of the perl man pages, and honestly? it's giving "quiet overachiever". also yes, the page title is literally Chart:...::Line(3pm) and no we are not going to talk about the ellipsis, it's an aesthetic choice and we're respecting it. β¨
πΈ VERSION πΈ
version 2.90 β she's not new here, she's established. π
π¦ SYNOPSIS π¦
like, here's the moment you've been waiting for:
my $lr = Chart::Clicker::Renderer::Line->new(
brush => Graphics::Primitive::Brush->new({
#...
})
);
the #... is where you go absolutely feral with your own brush config. go off. π
π DESCRIPTION π
Chart::Clicker::Renderer::Line renders a dataset as lines. that's it, that's the whole job description, and she does it flawlessly. no notes. π₯
β¨ ATTRIBUTES β¨
additive
if this is true, the lines get drawn "stacked" β every key accumulates on top of the ones drawn below it. so instead of vibing side by side, they're building a tower. main character stacking energy. ποΈ
brush
set/get the brush that's used for the lines themselves. the lewk. the outfit. π¨
shape
set a shape object to draw at each and every data point. and adding a shape results in:
(yes bestie, that colon is literally where the manpage ends its sentence. no further text. she just β¨trailed offβ¨ mid-thought. iconic behavior, honestly, we leave it exactly as written. π)
shape_brush
set/get the brush for the shapes sitting on each point. heads up though β if you don't hand over a shape_brush, the shapes just get filled. the whole point of supplying one is that it lets you draw a "halo"</halo> around each shape, which sometimes helps separate the points from the lines and makes them pop more. little glow-up, literally. π
π METHODS π
draw_point
called for each point encountered on the line. one point, one call, every time. no cap. π
π AUTHOR π
Cory G Watson <gphat@cpan.org> β the legend behind all this. π«Ά
π 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 yes, you can remix it, redistribute it, do your thing β same terms as perl itself, periodt. π
and that's a wrap onChart:...::Line(3pm), brought to you by perlv5.36.0, dated2022-10-14. lowkey a time capsule, highkey still slaying. byeee π§ββοΈπβ¨
π¦ 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