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
/**
	 * Returns an auto computed decimal format pattern for representing axis
	 * labels on a numeric axis This is used for representing logarithmic values
	 * 
	 * @return
	 */
	public final String getNumericPattern( double dValue )
	{
		if ( ChartUtil.mathEqual( dValue, (long) dValue ) )
		{
			
			return sNumericPattern;
		}
		final DecimalFormatSymbols dfs = new DecimalFormatSymbols( );
		final String sMinimum = String.valueOf( dValue );
		final int iEPosition = sMinimum.indexOf( dfs.getExponentSeparator( ) );
		final int iDecimalPosition = sMinimum.indexOf( dfs.getDecimalSeparator( ) );
		
		if ( iDecimalPosition >= 0 )
		{
			int n = ( iEPosition > 0 ) ? iEPosition : sMinimum.length( );
			for ( int i = n - 1; i > 0; i-- )
			{
				if ( sMinimum.charAt( i ) == '0' )
				{
					n--;
				}
				else
				{
					break;