[reportlab-users] Pie chart with all wedge labels to one side, with horizontal label pointers

Robin Becker robin at reportlab.com
Fri Sep 5 05:25:10 EDT 2008


Stevens, Ian wrote:

>> You're probably best to copy the piechart code and make a new

>> class, and add in some drawing instructions to extend a line

>> from each wedge to the side, and draw the labels there.

>

> This is what I figured. Thanks.

>

> Ian.

......
there is already code to to pointer style labelling for pies, but it is fairly
flimsy. To get labels all on one side you need to have a good start angle and
set up several parameters (and have all slices visible from that side).
--
Robin Becker


More information about the reportlab-users mailing list