Bug 208412 Enhance Chart Engine to process grouped, uni-dimensional Data
chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemPresentationBase.java
sh.setScriptContext( rtc.getScriptContext( ) );
			final String sScriptContent = cm.getScript( );
			if ( externalContext != null
					&& externalContext.getScriptable( ) != null )
			{
				sh.init( externalContext.getScriptable( ) );
			}
			else
			{
				sh.init( null );
			}
			sh.setRunTimeModel( cm );
			if ( sScriptContent != null
					&& sScriptContent.length( ) > 0 && rtc.isScriptingEnabled( ) )
			{
				sh.register( sScriptContent );
			}
		}
	}
	protected GeneratedChartState buildChart(
			IDataRowExpressionEvaluator rowAdapter,
			BIRTExternalContext externalContext ) throws ChartException
	{
		final Bounds bo = computeBounds( );
		initializeRuntimeContext( rowAdapter );
		return Generator.instance( ).build( idr.getDisplayServer( ),
				cm,
				bo,
				externalContext,
				rtc,