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
}
				}
			}
		}
		return precision;
	}
	
	/*
	 * if there is a valid user defined multiplier or perhaps fraction digits
	 * than return the format precision, otherwise return 1.0
	 * Note: it's NOT a static method like getPrecision
	 */
	private double getFormatPrecision( )
	{
		double dFormatPrecision = 1D;
		if ( fs != null )
		{
			if ( fs instanceof NumberFormatSpecifier )
			{
				NumberFormatSpecifier ns = (NumberFormatSpecifier) fs;
				if ( ns.isSetFractionDigits( ) )
				{
					double dMultiplier = ns.isSetMultiplier( ) ? ns.getMultiplier( )
							: 1D;
					if ( dMultiplier != 0 )
					{
						dFormatPrecision = Math.pow( 10,
								-ns.getFractionDigits( ) ) /
								dMultiplier;
					}