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 ArrayList stateList = new ArrayList( );
		for ( int i = 0; i < iNumberOfPoints - 1; i++ )
		{
			if ( !computeSpline( fa[i + 1], faKnotXY2 ) )
			{
				continue;
			}
			fX = faKnotXY2[0] - faKnotXY1[0];
			fY = faKnotXY2[1] - faKnotXY1[1];
			iNumberOfDivisions = (int) ( Math.sqrt( fX * fX + fY * fY ) / 5.0f ) + 1;
			faXY1 = new double[2];
			faXY2 = new double[2];
			if ( !computeSpline( fa[i], faXY1 ) )
			{
				continue;
			}
			for ( int j = 0; j < iNumberOfDivisions; j++ )
			{
				fT = fa[i]
						+ ( fa[i + 1] - fa[i] ) * ( j + 1 )
						/ iNumberOfDivisions;
				if ( !computeSpline( fT, faXY2 ) )
				{
					continue;
				}
				if ( bShowAsTape )
				{
					boolean drawLeftSide = ( i == 0 ) && ( j == 0 )
					
					&& bRendering3D && bFillArea;