Bug 159514 BPS66 - Chart Simple API
This project aims to simplify the chart model API and make it accessible from scripting. It will only expose a set of clear interfaces that determine what can be changed using scripting.
chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemImpl.java
}
			else
			{
				logger.log( ILogger.ERROR,
						Messages.getString( "ChartReportItemImpl.log.CannotSetState" ) ); 
			}
		}
		else if ( propName.equals( "script" ) ) 
		{
			if ( ScriptHandler.DEFAULT_JAVASCRIPT.equals( value ) )
			{
				cm.setScript( null );
			}
			else
			{
				cm.setScript( (String) value );
	
			}
		}
		else if ( propName.equals( "chart.instance" ) ) 
		{
			this.cm = (Chart) value;
		}
	}
	
	protected void checkScriptSyntax( String string ) throws RhinoException
	{
		if ( string == null )
			return;