Chart:...::Size(3pm)

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

πŸ’– Chart::Clicker::Data::Series::Size β€” the perl manual page, but make it cute πŸ’–

okay bestie, so this is a Perl manual page β€” a 3pm one, from the User Contributed Perl Documentation corner of the internet β€” and it's all about Chart::Clicker::Data::Series::Size, which is a whole class for chart data that ALSO carries a third lil variable called a size. Chart data with extra attributes for Size charts, fr fr. 🫢


✨ NAME ✨

Chart::Clicker::Data::Series::Size β€” it's chart data, but with extra attributes specifically for Size charts. πŸ‘‘


🌸 VERSION 🌸

version 2.90 β€” that's the one, that's the vibe.


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's how you actually use it, no cap:

use Chart::Clicker::Data::Series::Size;

my @keys = ();
my @values = ();
my @sizes = ();

my $series = Chart::Clicker::Data::Series::Size->new({
  keys    => \@keys,
  values  => \@values,
  sizes   => \@sizes
});

look at her go. three arrays in, one $series out. slay. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Chart::Clicker::Data::Series::Size is an extension of the Series class β€” like, it inherited the whole look from its parent and then added its own little accessory. specifically, it provides storage for a third variable, and that variable is called the size. 🌈

and why do we care?? because it's useful for the Bubble renderer. bubbles need sizes, bestie. it's giving essential. 🫧


⭐ ATTRIBUTES ⭐

🌟 sizes

Set/Get the sizes for this series. your whole size list, get it or set it, iconic behavior.

🌟 max_size

Gets the largest value from this Series' <sizes>. she's the biggest, she's the main character of the size list. πŸ‘‘

🌟 min_size

Gets the smallest value from this Series' <sizes>. tiny. precious. still valid. πŸ“


πŸ’œ METHODS πŸ’œ

🧚 add_to_sizes

Adds a size to this series. one more size, coming right up. ✨

🧚 get_size

Get a size by it's index. yes, by its index β€” one size, hand-picked, exactly the one you asked for. πŸ”

🧚 size_count

Gets the count of sizes in this series. how many sizes we got?? she'll tell you. πŸ”’


🌈 AUTHOR 🌈

Cory G Watson <gphat@cpan.org> β€” the legend, the icon, the moment. πŸ’–


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 like, go wild, remix it, redistribute it β€” same terms as Perl 5 itself. periodt. πŸŽ€

and that's the whole page, bestie!! no notes, we ate. πŸ’…βœ¨

big kisses from perl v5.36.0, dated 2022-10-14 β€” that's the version and the date this bad girl got built, and honestly? obsessed. Chart::...::Size(3pm) out. πŸ¦‹πŸ’–πŸŒΈ

πŸ“¦ where this page comes from