Bug 214197 [Regression] Auto scale does not work correctly [13]
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java
else
			{
				return this.oStepNumber.intValue( ) + 1;
			}
		}
		int nTicks = 2;
		if ( isCategoryScale( ) )
		{
			if ( dsiData != null )
			{
				nTicks = dsiData.size( ) + 1;
				if ( !bTickBetweenCategories )
				{
					nTicks++;
				}
			}
		}
		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 )