Bug 212371 [Regression] Auto-scale does not work correctly and gridline is not shown anymore when run the attached java file [13]
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java
* position where the first significant digit appears, or in double
	 * representation, the value of the exponent
	 * 
	 * @param precision
	 * @param value
	 * @return
	 */
	protected static double getPrecision( double precision, double pValue,
			FormatSpecifier fs, ULocale locale )
	{
		double value = Math.abs( pValue );
		value = getValidDouble( value );
		if ( value == 0 )
		{
			if ( precision < 0 )
				return precision;
			else if ( precision >= 0 )
				return 1;
		}
		if ( precision == 0 )
		{
			
			
			precision = Math.pow( 10, Math.floor( Math.log( value )
					/ Math.log( 10 ) ) );
		}
		
		
		double check = value / precision;
		int loopCounter = 0;