Version 2.4.2: Tabular Legend
Sunday, August 23rd, 2009As requested by in #chart-clicker I’ve added a tabular legend.

You can learn how to use it by checkout out the docs for Legend::Tabular on CPAN (when it shows up!).
As requested by in #chart-clicker I’ve added a tabular legend.

You can learn how to use it by checkout out the docs for Legend::Tabular on CPAN (when it shows up!).
As requested by nelish in #chart-clicker I’ve added titles.

The font used is the beautiful new Calluna.
This has been on my list for quite some time and tonight I finally got around to it.

It’s included in the latest release, just uploaded to CPAN.
The just-uploaded 2.24 release of Chart::Clicker depends on a fresh release of the Graphics::Primitive Cairo driver. This is important because Clicker’s ornery text-rotation bug is now gone. Previously, rotation didn’t calculate a bounding box, it instead allocated space that was a square as big as original box’s largest dimension. The yield can be seen quickly in this composite of a before (0.36) and after (0.37) shot of a simple chart:

You can see how much space was wasted on the vertical y-axis label. On the right things are sized properly.
The only other “major” bug I’ve got hanging around in Clicker is an overflow bug due to broken legend wrapping. I’ll attack this next.
The latest release of Clicker fixes some undocumented behavior of the Line renderer and makes it easier to add borders to shapes added to the line, like so:

This is a comment effect used in many modern charts. I’m not sure as to the utility of it, but it increases the ink-to-data ratio, thereby passing one of the tests installed by my study of Tufte.
You can use this feature in the upcoming 2.23 release.
Well, not really new. The Line renderer is now capable of producing stacked output. All you need to do is set the additive attribute to a true value!

This will be available on the 2.22 release, being uploaded to CPAN now.
Per a few requests, I implemented a Stacked Area renderer tonight:

I also fixed a bug in StackedBar, adjusted “fade” gradients in and made some other small improvements. Version 2.20 was just uploaded to the CPAN.