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
* Checks the trigger combination of condition and action type is supported
	 * in current renderer.
	 * 
	 * @param condition
	 * @param actionType
	 * @return
	 */
	public boolean check( TriggerCondition condition, ActionType actionType )
	{
		for ( int i = 0; i < supportedTriggers.size( ); i++ )
		{
			TriggerCombination tc = (TriggerCombination) supportedTriggers.get( i );
			if ( tc.test( condition, iRenderer ) )
			{
				if ( tc.getActionType( ) == actionType
						&& isDPEnabled( actionType ) )
				{
					return true;
				}
			}
		}
		return false;
	}
	private boolean isDPEnabled( ActionType actionType )
	{
		return isDataPointEnabled
				|| actionType != ActionType.TOGGLE_DATA_POINT_VISIBILITY_LITERAL;
	}
}