Chart:...larArea(3pm)

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

🌸 Chart::Clicker::Renderer::PolarArea β€” the man page, but make it cute

okay bestie, welcome to the Chart::Clicker::Renderer::PolarArea page, section 3pm πŸ’– this is a Perl module man page and it's lowkey iconic, so let's get into it.


✨ NAME ✨

Chart::Clicker::Renderer::PolarArea β€” the Polar Area renderer πŸŽ€ yes that's literally the whole name, it renders polar areas, we love a girl who knows herself.


πŸ’« VERSION πŸ’«

version 2.90 β€” she's been around, she's stable, she's serving consistency ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the vibe, copy-paste it and you're basically done:

  my $par = Chart::Clicker::Renderer::PolarArea->new;
  # Optionally set the stroke
  $par->brush->width(2);
  # and color
  $par->border_color(Graphics::Color::RGB->new(red => 1, green => 1, blue => 1));

so like β€” you make a new one. then optionally you set the stroke with $par->brush->width(2) πŸ‘‘ and optionally you set the color with $par->border_color(Graphics::Color::RGB->new(red => 1, green => 1, blue => 1)). both of those are optional, hence the # Optionally comments. we respect a queen who documents her optionality πŸ’…


🌈 DESCRIPTION 🌈

okay so here's the whole concept and honestly? it ate.

Chart::Clicker::Renderer::PolarArea renders each series as a slice of a pie πŸ”₯ that's the whole thing. each series gets its own slice.

the values of the series determine the radius of each slice β€” bigger values mean longer slices. so it's not the angle that changes, it's the length. it's giving very much a radial bar chart pretending to be a pie, and we support her 🌸

and the 360 degrees of pie? divided equally. every slice gets the same angle, no cap. the drama is entirely in how far each one reaches out πŸ’€


πŸ’… ATTRIBUTES πŸ’…

πŸŽ€ border_color

Set/Get the color to use for the border. that's it, that's the whole attribute, she's simple and we love that for her ✨

πŸŽ€ brush

Set/Get a brush to be used for the polar area's borders β€” and those borders are around each slice, bestie. each. slice. individually. so if you're gonna be extra about it, this is your moment 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Cory G Watson <gphat@cpan.org> β€” thank you for your service, king 🫑


okay legal moment, stay with me, this part matters fr fr

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 use it, remix it, redistribute it β€” same terms as Perl 5 itself, periodt.


and that's the page!! πŸ’– this was perl v5.36.0, dated 2022-10-14, and you just read Chart:...larArea(3pm) ✨ go forth and render your polar areas, bestie, you got this πŸŒΈπŸ¦‹πŸŽ€

πŸ“¦ where this page comes from