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
newValue,
				oldValue );
		this.handle.getModuleHandle( ).getCommandStack( ).execute( command );
	}
	/**
	 * Set the new chart through a command for command stack integration
	 */
	public void executeSetModelCommand( ExtendedItemHandle eih, Chart oldChart,
			Chart newChart )
	{
		if ( handle == null )
		{
			return;
		}
		IElementCommand command = new ChartElementCommandImpl( eih,
				this,
				oldChart,
				newChart );
		this.handle.getModuleHandle( ).getCommandStack( ).execute( command );
	}
	/**
	 * @param oDesignerRepresentation
	 */
	public final void setDesignerRepresentation( Object oDesignerRepresentation )
	{
		this.oDesignerRepresentation = oDesignerRepresentation;
	}
	public final Object getDesignerRepresentation( )
	{
		return oDesignerRepresentation;