Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352057 - Y-Axis Caption overlays X-Axis Captions when X-Axis Captions rotates 30°
Summary: Y-Axis Caption overlays X-Axis Captions when X-Axis Captions rotates 30°
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 3.7.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-Chart-inbox@eclipse.org CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 04:05 EDT by Andy CLA
Modified: 2011-07-18 22:30 EDT (History)
1 user (show)

See Also:


Attachments
sample pdf output (45.00 KB, application/pdf)
2011-07-14 04:07 EDT, Andy CLA
no flags Details
Chart java code (7.25 KB, text/x-java-source)
2011-07-14 04:13 EDT, Andy CLA
no flags Details
sample pdf output windows (67.12 KB, application/pdf)
2011-07-14 04:17 EDT, Andy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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