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
else if ( ( iType & NUMERICAL ) == NUMERICAL )
		{
			if ( ( iType & LINEAR ) == LINEAR )
			{
				double dMax = asDouble( oMaximum ).doubleValue( );
				double dMin = asDouble( oMinimum ).doubleValue( );
				double dStep = asDouble( oStep ).doubleValue( );
				if ( !ChartUtil.mathEqual( dMax, dMin ) )
				{
					double dNTicks = ( dMax - dMin ) / dStep;
					if ( ( dNTicks > TICKS_MAX ) || ( dNTicks < 2 ) )
					{
						if ( dNTicks > TICKS_MAX )
						{
							nTicks = TICKS_MAX;
						}
						else
						{ 
							nTicks = 2;
						}
						
						dStep = ( dMax - dMin ) / ( nTicks - 1 );
						oStep = new Double( dStep );
					}
					else
					{
						nTicks = (int) Math.ceil( dNTicks - 0.5 ) + 1;
					}
				}
				else