Proper Text Rotation

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.

Leave a Reply