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
( (TooltipValue) value ).setText( txtTooltipText.getText( ) );
				break;
			case INDEX_3_TOOGLE_VISABILITY :
				value = AttributeFactory.eINSTANCE.createSeriesValue( );
				( (SeriesValue) value ).setName( "" ); 
				break;
			case INDEX_4_SCRIPT :
				value = AttributeFactory.eINSTANCE.createScriptValue( );
				( (ScriptValue) value ).setScript( txtScript.getText( ) );
				break;
			case INDEX_5_HIGHLIGHT :
				value = AttributeFactory.eINSTANCE.createSeriesValue( );
				( (SeriesValue) value ).setName( "" ); 
				break;
			case INDEX_7_TOOGLE_DATAPOINT :
				value = AttributeFactory.eINSTANCE.createSeriesValue( );
				( (SeriesValue) value ).setName( "" ); 
			default :
				break;
		}
		Action action = ActionImpl.create( ActionType.getByName( LiteralHelper.actionTypeSet.getNameByDisplayName( cmbActionType.getText( ) ) ),
				value );
		return TriggerImpl.create( TriggerCondition.getByName( LiteralHelper.triggerConditionSet.getNameByDisplayName( lastTriggerType == null
				? cmbTriggerType.getText( ) : lastTriggerType ) ),
				action );
	}
	public void clear( )
	{
		cmbTriggerType.select( 0 );
		cmbActionType.select( 0 );