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

Bug 313281

Summary: Axis position is not correct after set origin value and enable study chart.[13]
Product: z_Archived Reporter: Maggie Shen <lshen>
Component: BIRTAssignee: Heng Li <liheeng>
Status: VERIFIED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier, Lionel.wyl
Version: 2.6.0   
Target Milestone: 2.6.1   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
screen shot
none
test report none

Description Maggie Shen CLA 2010-05-18 02:46:04 EDT
Created attachment 168859 [details]
screen shot

description:
Axis position is not correct after set origin value and enable study chart.

build id:
2.6.0 v20100518-0630

steps to reproduce:
1. New a data set with table payments in sample db.
2. New a chart, using the data set. Define checknumber as category series and paymentdate as value series.
3. Go to format chart page, set origin value for x axis to 1/1/2006.
4. On select chart type page, select secondary axis.
5. On format chart page, enable study chart.

Actual result:
the axis shrinked to a line. See attached screenshot.

Expected result:
x axis should be positioned where 2006 year is.
Comment 1 Maggie Shen CLA 2010-05-18 02:47:09 EDT
Created attachment 168860 [details]
test report
Comment 2 Heng Li CLA 2010-08-03 02:16:44 EDT
Refactored the computing study layout code of chart engine.
Fixed some bugs of study layout of chart.
Comment 3 Xiaoying Gu CLA 2010-08-04 02:00:03 EDT
Verified in daily build 2.6.1.v20100804-0630