Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354162 - X and Y Axis labels disappear in study view chart when X Axis labels are rotated
Summary: X and Y Axis labels disappear in study view chart when X Axis labels are rotated
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-Chart-inbox@eclipse.org CLA
QA Contact: Maggie Shen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-08 12:28 EDT by pickle_supreme CLA
Modified: 2012-02-08 06:47 EST (History)
3 users (show)

See Also:


Attachments
Test case for the bug (56.35 KB, application/octet-stream)
2011-08-08 12:29 EDT, pickle_supreme CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description pickle_supreme CLA 2011-08-08 12:28:40 EDT
Build Identifier: BIRT 3.7.0

When working with a chart that has multiple Y-axes and uses the study view, rotating the labels on the X axis will cause the labels to disappear and the two axes to separate at origin.

Also note the discussion here:
http://www.eclipse.org/forums/index.php/t/230266/


Reproducible: Always

Steps to Reproduce:
1. Import the attached .rptdesign file.
2. Run the report, X axis labels are not present.
3. Remove the 45 degree angle from the labels on the X axis.
4. Run the report, labels are back.
Comment 1 pickle_supreme CLA 2011-08-08 12:29:33 EDT
Created attachment 201093 [details]
Test case for the bug
Comment 2 pickle_supreme CLA 2011-08-10 12:11:44 EDT
With help from Jason, I managed to get the labels to show. This involved resizing the chart to be within page bounds and taller, and decreasing the X axis label font size to 8.

Axis origins were still separated though, until the rotation of labels was set to a negative value. It appears that if the bounds of the X axis labels go beyond the axis origin, the other axis gets moved aside to "make room" for them, which is an error.