Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322006 - DateTime XAxis maximum scale border
Summary: DateTime XAxis maximum scale border
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.5.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.6.2   Edit
Assignee: Heng Li CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard: Obsolete
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-06 11:39 EDT by Enrico Schnepel CLA
Modified: 2010-12-13 21:58 EST (History)
2 users (show)

See Also:


Attachments
The screenshot shows the unexpected behavior (19.24 KB, image/png)
2010-08-06 11:46 EDT, Enrico Schnepel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico Schnepel CLA 2010-08-06 11:39:08 EDT
I am using a XAxis with a DateTime type. when setting the maximum value for the Scale the rendered axis goes far beyond that value - rounded up to the next step value. I would expect it to behave like the yAxis the the last step line is omitted and the plot area border is exactly at the given value. Within an other Chart I am using a Number type and it does work as expected, so the behavior is not consistent.

I am using BIRT 2.5.2.
Comment 1 Enrico Schnepel CLA 2010-08-06 11:46:44 EDT
Created attachment 176049 [details]
The screenshot shows the unexpected behavior

I have set the y axis scale to:
min: 0, max: 30, step: 4

The x axis scale is set to:
min: 14:27:00, max: 14:32:30, step: 00:01:00

As you can see, the maximum displayed value is 14:33:00.
Comment 2 Heng Li CLA 2010-12-13 01:47:57 EST
Fixed by setting max value of axis to exactly value if max value of axis scale is specified.
Comment 3 Xiaoying Gu CLA 2010-12-13 21:58:51 EST
Verified in daily build 2.6.2.v201012140630. Set as verified.