Bug 189607 2D+ Curve Fitting Line does not work correctly [0001]
Description: 2D+ Curve Fitting Line does not work correctly. Build number: 2.2.0.v20070529-1039 Steps to reproduce: 1. Preview the attached design file. Expected result: Curve Fitting Line for 2D+ works corrctly. Actual result: See the screenshot. Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/event/WrappedInstruction.java
/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Comparable#compareTo(java.lang.Object)
	 */
	public int compareTo( Object o )
	{
		Bounds bo = null;
		if ( o instanceof PrimitiveRenderEvent )
		{
			try
			{
				bo = ( (PrimitiveRenderEvent) o ).getBounds( );
			}
			catch ( ChartException e )
			{
				assert false;
				return -1;
			}
		}
		else if ( o instanceof IRenderInstruction )
		{
			bo = ( (IRenderInstruction) o ).getBounds( );
		}
		return (dc != null && dc.isTransposed( ) ) ? PrimitiveRenderEvent.compareTransposed( getBounds( ), bo )
				: PrimitiveRenderEvent.compareRegular( getBounds( ), bo );
	}
	/**
	 * Returns the associated event.
	 *