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

Bug 352057

Summary: Y-Axis Caption overlays X-Axis Captions when X-Axis Captions rotates 30°
Product: z_Archived Reporter: Andy <tpw_af>
Component: BIRTAssignee: Birt-Chart-inbox <Birt-Chart-inbox>
Status: NEW --- QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier
Version: 3.7.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
sample pdf output
none
Chart java code
none
sample pdf output windows none

Description Andy CLA 2011-07-14 04:05:24 EDT
Build Identifier: v20110607-1526  and earlier versions

It only happens on Linux OS. At first the problem occurs on Windows OS too. But it could be fixed with a fix minimum value for y-Axis:

yAxis.getScale().setMin(NumberDataElementImpl.create(0));

On linux platform there is no effect on first chart page. The second page is ok again.
The attached code works as followed: Each chart object contains 10 x-values. If dataset > 10 then the next chart object will opened. All chart objects will attached to a report design as svg object so each chart object is independent.

Reproducible: Always

Steps to Reproduce:
1. run code on linux platform
2. all chart objects must have the same max Y-value
3.
Comment 1 Andy CLA 2011-07-14 04:07:23 EDT
Created attachment 199636 [details]
sample pdf output
Comment 2 Andy CLA 2011-07-14 04:13:01 EDT
Created attachment 199637 [details]
Chart java code
Comment 3 Andy CLA 2011-07-14 04:17:51 EDT
Created attachment 199638 [details]
sample pdf output windows