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
{
					faZ = Location3DImpl.getZArray( (Location3D[]) tempPoints );
				}
				else
				{
					faZ = null;
				}
				iNumberOfPoints = faX.length;
				if ( iNumberOfPoints < 1 )
				{
					return;
				}
				else if ( iNumberOfPoints == 1 )
				{
					double iSize = lia.getThickness( );
					if ( bRendering3D )
					{
						Line3DRenderEvent lre3dValue = (Line3DRenderEvent) ( (EventObjectCache) ipr ).getEventObject( oSource,
								Line3DRenderEvent.class );
						Location3D[] loa3dValue = new Location3D[2];
						loa3dValue[0] = Location3DImpl.create( faX[0],
								faY[0],
								faZ[0] );
						loa3dValue[1] = Location3DImpl.create( faX[0],
								faY[0],
								faZ[0] - dTapeWidth );
						lre3dValue.setStart3D( loa3dValue[0] );
						lre3dValue.setEnd3D( loa3dValue[1] );
						lre3dValue.setLineAttributes( lia );
						dc.addLine( lre3dValue );