Bug 137793 Chart parameter and data access needed in scripts
I have a pie chart that displays some data. When I click on a slice, I want to execute a javascript function and pass some of the properties of the report and the slice to the function. For example I would like to pass some of the parameters of this report to this javascript. In addition the data related to the slice clicked on shoule be accessible. The same data and can be used via the drillthrough interactivity action. The way I would envision this working would be: 1) Open the chart properties. 2) Navigate to the Format Chart tab 3) Select the Value Series and click the Interactivity button 4) Associate a Mouse Click action that invokes a script 5) The configuration of the script should allow for parameters (params[]) and data specific to the section of the chart (pie slice, bar...) to be entered. Similar to the values which can be referenced in the drill through functionality.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ExpressionProvider.java
protected static final Image IMAGE_MEMBER = getIconImage( IReportGraphicConstants.ICON_EXPRESSION_MEMBER );
	protected static final Image IMAGE_STATIC_MEMBER = getIconImage( IReportGraphicConstants.ICON_EXPRESSION_STATIC_MEMBER );
	protected static final Image IMAGE_LEVEL_ATTRI = getIconImage( IReportGraphicConstants.ICON_LEVEL_ATTRI );
	public static final String OPERATORS = Messages.getString( "ExpressionProvider.Category.Operators" ); 
	public static final String COLUMN_BINDINGS = Messages.getString( "ExpressionProvider.Category.ColumnBinding" ); 
	public static final String CURRENT_CUBE = Messages.getString( "ExpressionProvider.Category.DataCubes" );
	
	
	public static final String PARAMETERS = Messages.getString( "ExpressionProvider.Category.Parameters" ); 
	public static final String NATIVE_OBJECTS = Messages.getString( "ExpressionProvider.Category.NativeObjects" );
	public static final String BIRT_OBJECTS = Messages.getString( "ExpressionProvider.Category.BirtObjects" );
	protected static final String ALL = Messages.getString( "ExpressionProvider.Label.All" ); 
	private static final String TOOLTIP_BINDING_PREFIX = Messages.getString( "ExpressionProvider.Tooltip.ColumnBinding" ); 
	protected DesignElementHandle elementHandle;
	private List filterList;
	private boolean includeSelf;
	/**
	 * Create a new expression provider with the current module
	 */
	public ExpressionProvider( )
	{
		this( null );
	}
	/**
	 * Create a new expression provider with the given element
	 * 
	 * @param handle
	 *            the handle of the element
	 */
	public ExpressionProvider( DesignElementHandle handle )