Chart:...Legend(3pm)

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

✨ NAME ✨

bestie, this is Chart::Clicker::Decoration::Legend β€” it's the little legend thingy that shows you the series name + the color key πŸ’…

(also it lives in the Chart::Clicker::Decoration namespace, so iykyk that it's a decoration, not a whole chart, periodt)


πŸŽ€ VERSION πŸŽ€

version 2.90 β€” that's the one, no cap


🌸 DESCRIPTION 🌸

okay so Chart::Clicker::Decoration::Legend draws a legend on a Chart. that's the whole vibe. it's giving "here's which color means which series" πŸ¦‹


πŸ’– ATTRIBUTES πŸ’–

srsly every single one, here we go:

  • border β€” Set/Get this Legend's border. yes queen, it gets a border.
  • font β€” Set/Get the font used for this legend's items. this is how your legend labels get their whole look ✨
  • insets β€” Set/Get this Legend's insets.
  • item_padding β€” Set/Get the padding for this legend's items. personal space for your legend entries, we love to see it 🫢
  • layout_manager β€” Set/Get the layout manager for this lagend. Defaults to Layout::Manager::Flow with an anchor of "west" and a "wrap" of 1. (and yes, the original really does say "lagend" β€” iconic typo, we keep it fr fr 😭)

πŸ‘‘ AUTHOR πŸ‘‘

Cory G Watson <gphat@cpan.org> β€” legend behavior honestly πŸ†


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.


okay and that's the whole page, bestie! πŸ’œ this was pulled from the perl v5.36.0 docs, dated 2022-10-14 β€” mwah, go build a chart, slay βœ¨πŸ’…πŸŽ€

πŸ“¦ where this page comes from