return this.oStepNumber.intValue( );
return this.oStepNumber.intValue( ) + 1;
	public final int getTickCount( ) throws ChartException	{		if ( this.oStepNumber != null )		{			if ( bCategoryScale || ( iType & NUMERICAL ) != NUMERICAL )			{				// Log the exception to notify only numeric value is supported				logger.log( new ChartException( ChartEnginePlugin.ID,						ChartException.GENERATION,						"exception.unsupported.step.number", //$NON-NLS-1$						Messages.getResourceBundle( rtc.getULocale( ) ) ) );			}			else			{				return this.oStepNumber.intValue( );			}		}				int nTicks = 2;		if ( ( iType & TEXT ) == TEXT || bCategoryScale )		{			if ( dsiData != null )			{				nTicks = dsiData.size( ) + 1;			}		}		else if ( ( iType & NUMERICAL ) == NUMERICAL )		{			if ( ( iType & LINEAR ) == LINEAR )			{				double dMax = asDouble( oMaximum ).doubleValue( );				double dMin = asDouble( oMinimum ).doubleValue( );				double dStep = asDouble( oStep ).doubleValue( );				nTicks = (int) Math.ceil( ( dMax - dMin ) / dStep - 0.5 ) + 1;				// !Remove artificial limit for tick count.				// // ARTIFICIAL LIMIT TO TICK COUNT				// if ( nTicks > 100 )				// {				// nTicks = 100;				// }				// at least 2 ticks				if ( nTicks < 2 )				{					nTicks = 2;				}			}			else if ( ( iType & LOGARITHMIC ) == LOGARITHMIC )			{				double dMax = asDouble( oMaximum ).doubleValue( );				double dMin = asDouble( oMinimum ).doubleValue( );				double dStep = asDouble( oStep ).doubleValue( );				double dMaxLog = ( Math.log( dMax ) / LOG_10 );				double dMinLog = ( Math.log( dMin ) / LOG_10 );				double dStepLog = ( Math.log( dStep ) / LOG_10 );				nTicks = (int) Math.ceil( ( dMaxLog - dMinLog ) / dStepLog ) + 1;				if ( nTicks < 2 )				{					nTicks = 2;				}			}		}		else if ( ( iType & DATE_TIME ) == DATE_TIME )		{			final CDateTime cdt1 = (CDateTime) oMinimum;			final CDateTime cdt2 = (CDateTime) oMaximum;			nTicks = (int) ( Math.ceil( CDateTime.computeDifference( cdt2,					cdt1,					asInteger( oUnit ) ) ) / asInteger( oStep ) ) + 1;			if ( nTicks < 2 )			{				nTicks = 2;			}		}		else		{			throw new ChartException( ChartEnginePlugin.ID,					ChartException.GENERATION,					"exception.unknown.axis.type.tick.computations", //$NON-NLS-1$					Messages.getResourceBundle( rtc.getULocale( ) ) );		}		return nTicks;	}