Bug 152898 Error Bar Chart
Version: 3.2.0 Build id: I20060602-1317 The option of chart sometimes works ok, but sometimes it has the following error:
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java
if ( cValue.before( caMin ) )
					caMin = cValue;
				else if ( cValue.after( caMax ) )
					caMax = cValue;
			}
			CDateTime cdtMinValue = new CDateTime( caMin );
			CDateTime cdtMaxValue = new CDateTime( caMax );
			int iUnit = CDateTime.getDifference( cdtMinValue, cdtMaxValue );
			
			
			if ( iUnit == 0 )
				iUnit = CDateTime.SECOND;
			
			CDateTime cdtMinAxis = cdtMinValue.backward( iUnit, 1 );
			CDateTime cdtMaxAxis = cdtMaxValue.forward( iUnit, 1 );
			cdtMinAxis.clearBelow( iUnit );
			cdtMaxAxis.clearBelow( iUnit );
			sc = new AutoScale( DATE_TIME,
					cdtMinAxis,
					cdtMaxAxis,
					new Integer( iUnit ),
					new Integer( 1 ) );
			sc.setDirection( direction );
			sc.fs = fs; 
			sc.rtc = rtc; 
			sc.bAxisLabelStaggered = ax.isAxisLabelStaggered( );
			sc.iLabelShowingInterval = ax.getLableShowingInterval( );
			sc.dZoomFactor = zoomFactor;
			sc.computeTicks( xs,
					la,