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
pt[2] );
				}
				pa[0] = Location3DImpl.create( pt0[0], pt0[1], pt0[2] );
				pa[1] = Location3DImpl.create( pt0[0], zeroLocation, pt0[2] );
				pa[2] = Location3DImpl.create( pa[3].getX( ),
						zeroLocation,
						pa[3].getZ( ) );
			}
			else
			{
				for ( int i = 0; i < points.size( ); i++ )
				{
					double[] pt = (double[]) points.get( i );
					pa[i + 2] = Location3DImpl.create( pt[0], pt[1], pt[2] );
				}
				pa[0] = Location3DImpl.create( pa[pa.length - 1].getX( ),
						zeroLocation,
						pa[pa.length - 1].getZ( ) );
				pa[1] = Location3DImpl.create( pt0[0], zeroLocation, pt0[2] );
			}
			pre3d.setOutline( null );
			pre3d.setPoints3D( pa );
			pre3d.setBackground( fillColor );
			dc.addPlane( pre3d, PrimitiveRenderEvent.FILL );
			for ( int i = 0; i < pa.length; i++ )
			{
				pa[i].setZ( pa[i].getZ( ) - dTapeWidth );
			}
			dc.addPlane( pre3d, PrimitiveRenderEvent.FILL );
			double[] pte = (double[]) points.get( points.size( ) - 1 );