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
pa[pa.length - 3].getY( ) );
				pa[pa.length - 1] = LocationImpl.create( zeroLocation,
						pa[0].getY( ) );
			}
			else
			{
				pa[pa.length - 2] = LocationImpl.create( pa[pa.length - 3].getX( ),
						zeroLocation );
				pa[pa.length - 1] = LocationImpl.create( pa[0].getX( ),
						zeroLocation );
			}
			pre.setOutline( null );
			pre.setPoints( pa );
			pre.setBackground( fillColor );
			if ( bDeferred )
			{
				dc.addPlane( pre, PrimitiveRenderEvent.FILL );
			}
			else
			{
				ipr.fillPolygon( pre );
			}
			if ( lia.isSetVisible( ) && lia.isVisible( ) )
			{
				for ( int i = 0; i < points.size( ) - 1; i++ )
				{
					lre.setStart( pa[i] );
					lre.setEnd( pa[i + 1] );
					if ( bDeferred )
					{