Bug 198031 Legend interactivity does not work correctly for drill-throughs
Under Value (Y) Series enable interactivity for the event "Mouse Click" Set action to Hyperlink The type of the hyperlink is Drill-through and the target is the a sub-report Pass parameter to sub-report as row["value_of_the_legend_item"] Suppose there are 3 values, x,y and z No matter which legend item you click (x, y or z), z gets passed as param to the subreport
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/TriggerDataComposite.java
if ( cmbActionType.getText( )
				.equals( LiteralHelper.actionTypeSet.getDisplayNameByName( ActionType.URL_REDIRECT_LITERAL.getName( ) ) ) )
		{
			return INDEX_1_URL_REDIRECT;
		}
		if ( cmbActionType.getText( )
				.equals( LiteralHelper.actionTypeSet.getDisplayNameByName( ActionType.INVOKE_SCRIPT_LITERAL.getName( ) ) ) )
		{
			return INDEX_4_SCRIPT;
		}
		if ( cmbActionType.getText( )
				.equals( LiteralHelper.actionTypeSet.getDisplayNameByName( ActionType.HIGHLIGHT_LITERAL.getName( ) ) ) )
		{
			return INDEX_5_HIGHLIGHT;
		}
		if ( cmbActionType.getText( )
				.equals( LiteralHelper.actionTypeSet.getDisplayNameByName( ActionType.TOGGLE_VISIBILITY_LITERAL.getName( ) ) ) )
		{
			return INDEX_3_TOOGLE_VISABILITY;
		}
		if ( cmbActionType.getText( )
				.equals( LiteralHelper.actionTypeSet.getDisplayNameByName( ActionType.TOGGLE_DATA_POINT_VISIBILITY_LITERAL.getName( ) ) ) )
		{
			return INDEX_7_TOOGLE_DATAPOINT;
		}
		if ( cmbActionType.getText( )
				.equals( LiteralHelper.actionTypeSet.getDisplayNameByName( ActionType.CALL_BACK_LITERAL.getName( ) ) ) )
		{
			return INDEX_6_CALLBACK;
		}