Bug 195961 Toggle Visibility does not work for Marker Line/Range and Chart Area [13]
Description: Toggle Visibility does not work for Marker Line/Range and Chart Area. Build number: 2.2.0.v20070710-1223 Steps to reproduce: 1. New a Chart, in "Format Chart" tab, add interactivity for Chart Area or Marker Line/Range, Event: Mouse Click, Action: Toggle Visibility. 2. Preview, click the Chart Area or Marker Line/Range. Expected result: Interactivity works. Actual result: It does not work. Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/util/TriggerSupportMatrix.java
supportedTriggers.add( new TriggerCombination( TriggerCondition.ONMOUSEOVER_LITERAL,
				ActionType.SHOW_TOOLTIP_LITERAL,
				SWING ) );
		supportedTriggers.add( new TriggerCombination( TriggerCondition.ONMOUSEOVER_LITERAL,
				ActionType.INVOKE_SCRIPT_LITERAL,
				SWING ) );
		addTriggersLikeMouseDown( TriggerCondition.ONMOUSEOVER_LITERAL );
		
		addTriggersLikeMouseDown( TriggerCondition.ONMOUSEDOWN_LITERAL );
		
		addTriggersLikeMouseDown( TriggerCondition.ONMOUSEUP_LITERAL );
		
		addTriggersLikeMouseDown( TriggerCondition.ONMOUSEMOVE_LITERAL );
		
		addTriggersLikeMouseDown( TriggerCondition.ONMOUSEOUT_LITERAL );
		
		addTriggersLikeMouseDown( TriggerCondition.ONKEYDOWN_LITERAL );
		
		addTriggersLikeMouseDown( TriggerCondition.ONKEYUP_LITERAL );
		
		addTriggersLikeMouseDown( TriggerCondition.ONKEYPRESS_LITERAL );
		
		addTriggersLikeMouseDown( TriggerCondition.ONLOAD_LITERAL );
	};
	private static void addTriggersLikeOnclick( TriggerCondition condition )
	{
		supportedTriggers.add( new TriggerCombination( condition,
				ActionType.URL_REDIRECT_LITERAL ) );
		supportedTriggers.add( new TriggerCombination( condition,
				ActionType.INVOKE_SCRIPT_LITERAL ) );