Bug 132031 access to chart scripting methods and related documentation
It's very strange that access to chart scipting methods available only from script tab related to whole chart item. This approach is not consistent comparing to how script defined for such report items as table or dataset. That why inside of chart's script tab we see comment out bunch of chart scripting methods. I suggest that every component on chart item that have corresponding scripting methods must have separate script tab with set predefined methods. Beside that it would be nice to have at least some documentation and axamples on this topic.
UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/internal/ui/editors/script/JSEditor.java
editingDomainEditor = null;
		super.dispose( );
		
		( (MultiPageEditorSite) getSite( ) ).dispose( );
	}
	public void createPartControl( Composite parent )
	{
		Composite child = this.initEditorLayout( parent );
		setInput( editorInput );
		cmbExprListViewer = new ComboViewer( cmbExpList );
		JSExpListProvider provider = new JSExpListProvider( );
		cmbExprListViewer.setContentProvider( provider );
		cmbExprListViewer.setLabelProvider( provider );
		
		Object model = getModel( );
		if ( model != null )
		{
			cmbExpList.setVisible( true );
			setComboViewerInput( model );
		}
		else
		{
			setComboViewerInput( Messages.getString( "JSEditor.Input.trial" ) ); 
		}
		cmbExprListViewer.addSelectionChangedListener( palettePage.getSupport( ) );
		cmbExprListViewer.addSelectionChangedListener( new ISelectionChangedListener( ) {
			/**
			 * selectionChanged( event) - This listener implementation is
			 * invoked when an item in the combo box is selected, - It saves the
			 * current editor contents. - Updates the editor content with the