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

Bug 322006

Summary: DateTime XAxis maximum scale border
Product: z_Archived Reporter: Enrico Schnepel <enrico.schnepel>
Component: BIRTAssignee: Heng Li <liheeng>
Status: VERIFIED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier, liheeng
Version: 2.5.1   
Target Milestone: 2.6.2   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
The screenshot shows the unexpected behavior none

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.