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
if ( staggerEnabled )
			{
				for ( int i = 0; i < ba.length; i++ )
				{
					baTickLabelStaggered[i] = ( i % 2 != 0 );
				}
			}
		}
		if ( !isCategoryScale( ) )
		{
			
			return ba;
		}
		final double dAngleInDegrees = la.getCaption( )
				.getFont( )
				.getRotation( );
		double x = 0, y = 0;
		int iNewPointToCheck = 0, iPrevPointToCheck = 0;
		/*
		 * Rectangle points are layed out like this
		 * 
		 * 0 1 NextLabel 3 2
		 * 
		 * 0 1 0 1 PreviousLabel NextLabel 3 2 3 2
		 * 
		 * 
		 */
		boolean isNegativeRotation = ( dAngleInDegrees < 0 && dAngleInDegrees > -90 );
		switch ( iLabelLocation )