spX = new Spline( faX );   spY = new Spline( faY );  fa = new double[iNumberOfPoints]; for ( int i = 0; i < iNumberOfPoints; i++ ) { fa[i] = i; }  renderCurve( ipr, 0, 0 );
	public final void draw( IPrimitiveRenderer ipr ) throws ChartException	{		if ( !lia.isSetVisible( ) )		{			throw new ChartException( ChartEnginePlugin.ID,					ChartException.RENDERING,					"exception.curve.visibility.unset",//$NON-NLS-1$ 					ResourceBundle.getBundle( Messages.ENGINE,							iRender.getRunTimeContext( ).getLocale( ) ) );		}		if ( !bFillArea && !lia.isVisible( ) )		{			return;		}		iNumberOfPoints = faX.length;		if ( iNumberOfPoints <= 1 )		{			return;		}		// X-CORDINATES		spX = new Spline( faX ); // X-SPLINE		// Y-CORDINATES		spY = new Spline( faY ); // Y-SPLINE		fa = new double[iNumberOfPoints];		for ( int i = 0; i < iNumberOfPoints; i++ )		{			fa[i] = i;		}		renderCurve( ipr, 0, 0 ); // ACTUAL CURVE	}