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/render/CurveRenderer.java
}
		final LineRenderEvent lre = (LineRenderEvent) ( (EventObjectCache) ipr ).getEventObject( oSource,
				LineRenderEvent.class );
		lre.setLineAttributes( lia );
		final Line3DRenderEvent lre3d = (Line3DRenderEvent) ( (EventObjectCache) ipr ).getEventObject( oSource,
				Line3DRenderEvent.class );
		lre3d.setLineAttributes( lia );
		final PolygonRenderEvent pre = bRendering3D
				? null
				: (PolygonRenderEvent) ( (EventObjectCache) ipr ).getEventObject( oSource,
						PolygonRenderEvent.class );
		final Polygon3DRenderEvent pre3d = bRendering3D
				? (Polygon3DRenderEvent) ( (EventObjectCache) ipr ).getEventObject( oSource,
						Polygon3DRenderEvent.class ) : null;
		if ( bUseLastState )
		{
			Object obj = iRender.getRunTimeContext( )
					.getState( BaseRenderer.FIXED_STACKED_SERIES_INDEX_KEY );
			double[] lastFixedX = null;
			double[] lastFixedY = null;
			int lastVisbileSeriesIndex = iRender.getSeriesIndex( ) - 1;
			
			if ( iRender instanceof AxesRenderer )
			{
				lastVisbileSeriesIndex = ( (AxesRenderer) iRender ).getPrevVisibleSiblingSeriesIndex( iRender.getSeriesIndex( ) );
			}
			if ( obj instanceof Integer
					&& ( (Integer) obj ).intValue( ) == lastVisbileSeriesIndex )
			{