Bug 140255 - Pie Chart percentage label has UI glyph
Summary: Pie Chart percentage label has UI glyph
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: 2.1.0 RC4   Edit
Assignee: Nina Li CLA
QA Contact:
URL:
Whiteboard: Autoed,G
Keywords: test
Depends on:
Blocks:
 
Reported: 2006-05-04 16:54 EDT by Svetlana Grimaylo CLA
Modified: 2010-03-24 23:15 EDT (History)
2 users (show)

See Also:


Attachments
"Pass" result is cross out in the verdict graph. (865 bytes, application/x-zip-compressed)
2006-05-04 17:00 EDT, Svetlana Grimaylo CLA
no flags Details
Pie Chart Screen Shot (12.33 KB, image/pjpeg)
2006-05-05 13:31 EDT, Svetlana Grimaylo CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Svetlana Grimaylo CLA 2006-05-04 16:54:43 EDT
Line of verdict for "Pass" result (in the test log graph) is very long.
It crossed out the result itself.
Step to reproduce:
1. Create a new script in the RMT editor.
2. Create 6 statements inside the script.
3. Save it.
4. Select "Run"->"Run Script" from Menu on Toolbar.
5. Apply 3 results as "pass" and 3 results as "error".
6. Click "Yes" to save the result.
7. Click "Yes" to save the Name of "scriptRMT.execution".
8. Open result ""scriptRMT.execution", by double-click on it.
Result: You have "50.0%" on the "Pass" -result cross out by the long line.
Comment 1 Svetlana Grimaylo CLA 2006-05-04 17:00:32 EDT
Created attachment 40430 [details]
"Pass" result is cross out in the verdict graph.

See "Verdict Summary" result.
Comment 2 Svetlana Grimaylo CLA 2006-05-05 13:31:16 EDT
Created attachment 40501 [details]
Pie Chart Screen Shot
Comment 3 Nina Li CLA 2006-05-23 02:46:26 EDT
Problem reproduction:
The issue happens when there are only 2 pie slices, and the values of them are equal.

What causes the problem:
The Headerline is rendered in IConstants.RIGHT [-90, 90],
While the label is rendered in Position.LEFT_LITERAL [90, 180).

Resolved by:
Change the Headerline RIGHT rendering range to [-90, 90).
Comment 4 Bianca Jiang CLA 2006-05-23 15:14:44 EDT
Thanks for the fix, Nina.  Could you tell me which build of BIRT I should use in order to get this fix?  Thanks.
Comment 5 Nina Li CLA 2006-05-24 02:32:20 EDT
The build ID should be N20060524, but I'm afraid that it hasn't been uploaded to the BIRT download page. It will be available tomorrow. 
Cheers.