Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356490

Summary: Pie chart label pushes off chart area when the first slice value is ~48% to ~53% of pie
Product: z_Archived Reporter: spamaccount491
Component: BIRTAssignee: Birt-ReportEngine-inbox <Birt-ReportEngine-inbox>
Status: NEW --- QA Contact: Sissi Zhu <szhu>
Severity: normal    
Priority: P3 CC: bluesoldier, hao.zhou
Version: 3.7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description spamaccount491 CLA 2011-09-01 11:50:29 EDT
Build Identifier: 20110615-0604

When using a pie chart to display data values, a slice for the first datapoint being between ~48% to ~53% will cause the label to disappear (push off the display area) OR else "clip" itself at the edge of the display area. If the percentage allocated to -just- the pie region is changed to 75%, 50%, etc. it still has NO effect on the positioning of the missing label.  The label will always be placed way over to the right (or left in counterclockwise rotation) and clipped or missed entirely. Setting the rotation of the pie to ~15% will make the missing label come back into view but this should not have to be done by the user since this now becomes a "data-value"  based solution.

environment
1.) pie width and height are always supplied (ie not null)
2.) having/or not having leader lines does not effect it


Reproducible: Always

Steps to Reproduce:
1.Create a pie chart that has a data set that uses a ~50% value as the first slice
2.Make sure the pie have fixed values for width and height
3.Run the report
Comment 1 Xiaoying Gu CLA 2011-10-28 03:21:16 EDT
I can't reproduce this issue with latest birt.
Could you provide more detail information about how to reproduce it or a sample report I can test with?