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/factory/Generator.java
{
			
			( (ChartScriptContext) icsc ).setLogger( logger );
		}
		if ( externalContext != null && icsc instanceof ChartScriptContext )
		{
			( (ChartScriptContext) icsc ).setExternalContext( externalContext );
		}
		final Chart cmRunTime = icsc.getChartInstance( );
		
		
		ScriptHandler sh = rtc.getScriptHandler( );
		if ( sh == null ) 
		
		{
			sh = new ScriptHandler( );
			rtc.setScriptHandler( sh );
			sh.setScriptClassLoader( rtc.getScriptClassLoader( ) );
			sh.setScriptContext( icsc );
			final String sScriptContent = cmRunTime.getScript( );
			if ( externalContext != null
					&& externalContext.getScriptable( ) != null )
			{
				sh.init( externalContext.getScriptable( ) );
			}
			else
			{
				sh.init( null );
			}
			sh.setRunTimeModel( cmRunTime );