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

Bug 354162

Summary: X and Y Axis labels disappear in study view chart when X Axis labels are rotated
Product: z_Archived Reporter: pickle_supreme <vasa>
Component: BIRTAssignee: Birt-Chart-inbox <Birt-Chart-inbox>
Status: NEW --- QA Contact: Maggie Shen <lshen>
Severity: normal    
Priority: P3 CC: bluesoldier, kazm, kkazmierczyk+eclipse
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
Test case for the bug none

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.