v7 Pie Chart Aneurysm
Posted: Fri Jul 25, 2008 7:01 am
I have struggled with the pie chart for a whole day. What's up with all the white-space? Even if I set the top margin of the chart to 0 I end up with a huge gap between the top of the chart panel and the top of the pie.
I have a similar problem with the legend. Which somehow seems to bottom align or something? If there are two slices in the pie I end up with acres of space between the pie and the legend (I have the legen box below). As more slices are added the top row of the legend box moves closer to the pie.
I tried moving the legend box using a point below the pie determined by using .ycenter + (.yradius/2). But when the legend box moved up, the whole pie moved down!
Is there some way to take proper control of plotting a pie chart? I want to draw the pie at the very top of the panel with no white space at all. I then want the legend box to start just below the pie.
Any help will be appreciated.
I have a similar problem with the legend. Which somehow seems to bottom align or something? If there are two slices in the pie I end up with acres of space between the pie and the legend (I have the legen box below). As more slices are added the top row of the legend box moves closer to the pie.
I tried moving the legend box using a point below the pie determined by using .ycenter + (.yradius/2). But when the legend box moved up, the whole pie moved down!
Is there some way to take proper control of plotting a pie chart? I want to draw the pie at the very top of the panel with no white space at all. I then want the legend box to start just below the pie.
Any help will be appreciated.