Bug 214077 [Automation][Regression]Chart Y-axis step size is changed
Description: Chart Y-axis step size is changed to 1 when set the chart step size as default. Test Date: 20080102 Test Build: BIRT2.3.0 Daily Build: v20080102-1021 Step to reproduce: 1. Use the report attached 2. Preview it. Expect result: The step size should be 1000. Actual result: The step size is 1.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java
if ( oMaximum == null && origin.after( oMaxValue ) )
				{
					oMaximum = axisOrigin.getValue( );
				}
			}
			int iUnit;
			if ( oStep != null || oStepNumber != null )
			{
				iUnit = ChartUtil.convertUnitTypeToCalendarConstant( scModel.getUnit( ) );
			}
			else
			{
				iUnit = CDateTime.getPreferredUnit( (CDateTime) oMinValue,
						(CDateTime) oMaxValue );
			}
			
			if ( iUnit == 0 )
				iUnit = CDateTime.SECOND;
			CDateTime cdtMinAxis = ( (CDateTime) oMinValue ).backward( iUnit, 1 );
			CDateTime cdtMaxAxis = ( (CDateTime) oMaxValue ).forward( iUnit, 1 );
			cdtMinAxis.clearBelow( iUnit );
			cdtMaxAxis.clearBelow( iUnit );
			sc = new AutoScale( DATE_TIME, cdtMinAxis, cdtMaxAxis );
			sc.oStep = new Integer( 1 );
			sc.oStepNumber = oStepNumber;
			sc.oUnit = new Integer( iUnit );
			sc.setDirection( direction );
			sc.fs = fs; 
			sc.rtc = rtc; 
			sc.bAxisLabelStaggered = ax.isAxisLabelStaggered( );