Bug 188058 Bottom arc and top oval of Tube and Cone and Pyramid chart are painted error.
Build ID: I20070323-1616 Steps To Reproduce: 1. New a Tube chart. 2. Flip axis. 3. Preview the chart in viewer. Expected behavior: - The bottom of each series should be arc. - The top of each series should be oval. Actual behavior: - The bottom and top of each series are direct line, refer to attached output file. More information:
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java
}
	private final int compare( DataElement de1, DataElement de2 )
			throws ChartException
	{
		if ( de1 == null && de2 == null )
			return IConstants.EQUAL;
		if ( de1 == null || de2 == null )
			return IConstants.SOME_NULL;
		final Class c1 = de1.getClass( );
		final Class c2 = de2.getClass( );
		if ( c1.equals( c2 ) )
		{
			if ( de1 instanceof NumberDataElement )
			{
				return Double.compare( ( (NumberDataElement) de1 ).getValue( ),
						( (NumberDataElement) de2 ).getValue( ) );
			}
			else if ( de1 instanceof DateTimeDataElement )
			{
				final long l1 = ( (DateTimeDataElement) de1 ).getValue( );
				final long l2 = ( (DateTimeDataElement) de1 ).getValue( );
				return ( l1 < l1 ? IConstants.LESS : ( l1 == l2
						? IConstants.EQUAL : IConstants.MORE ) );
			}
			else if ( de1 instanceof TextDataElement )
			{
				throw new ChartException( ChartEnginePlugin.ID,
						ChartException.DATA_FORMAT,
						"exception.unsupported.compare.text",  
						Messages.getResourceBundle( getRunTimeContext( ).getULocale( ) ) );