Home
Analytics
Pie chart labels pushed off edge at ~48-53%
b2tech
Hello:
I have a problem with pie charts pushing the "slice label" off the plot area when I have > ~48% or < ~53% slice for the FIRST data point. I am doing a clockwise orientation for the layout where the first slice is started at 3:00. It seems there is a problem dealing with these values in the BIRT "label layout code" for a pie chart.
Using/or not using a leader line is NOT the issue. I learned if I use a 15 degree shift of the pie, the labels WILL display correctly (in a different location obviously) but this causes all sorts of additional work in determining what the actual data is beforehand and then implementing the shift to the pie on just these reports.
Since report templates are auto generated beforehand it means I will need to keep extra versions of those templates that need to do the shift to fix the visual display of the pie labels. This would not even address when multiple pies charts are used within the same template. On a test run of 1200 reports, I had approximately 12 that had the pie labels pushed off the plot area. You can imagine what would happen in production with 50K reports.
Any thoughts or help would be appreciated.
BillH
Find more posts tagged with
Comments
JasonW
Bill
Have you looked at shrinking the pie chart using the coverage property?
Select the third tab of the chart wizard and choose Chart Area. Un-check the auto
check box and enter a value of 50.
Jason
b2tech
Yes.
We currently use 75% coverage to keep all pies charts the same size. Dropping this down to let's say 25% will make a smaller pie chart but the label will -still- push itself off the plot area. Our pie charts come from library elements and they are already fixed for width and height to allow a perfect fit into numerous multi column report layouts. If you have a three column report, the pie would be one size to fit this column width and another size to fit into a two column width. The user designs the report layout but the correctly sized pie to fill the actual report layout is handled by a program.
The only issue seems to be with the > ~48% or < ~53% slice for the FIRST data point. Someone should check the label layout code covering the above condition.
BillH
JasonW
Can you log a bugzilla entry for this?
Jason