Bug 195622 Toggle DataPoint Visibility should only list in Value (Y) Series interactivity [13]
Description: Toggle DataPoint Visibility should only list in Value (Y) Series interactivity. Build number: 2.2.0.v20070706-0959 Steps to reproduce: 1. New a chart, in Format Specifier add interactivity for Title, Chart Area... Expected result: Action "Toggle DataPoint Visibility" should only list for Value (Y) Series. Actual result: Action "Toggle DataPoint Visibility" also lists for Title, Chart Area... but does not work. Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/util/TriggerSupportMatrix.java
}
		return (String[]) actions.toArray( new String[actions.size( )] );
	}
	/**
	 * Checks the trigger combination of condition and action type is supported
	 * in current renderer.
	 * 
	 * @param trigger
	 * @return
	 */
	public boolean check( Trigger trigger )
	{
		if ( trigger != null )
		{
			for ( int i = 0; i < supportedTriggers.size( ); i++ )
			{
				TriggerCombination tc = (TriggerCombination) supportedTriggers.get( i );
				if ( tc.test( trigger.getCondition( ), iRenderer ) )
				{
					if ( tc.getActionType( ) == trigger.getAction( ).getType( ) )
					{
						return true;
					}
				}
			}
		}
		return false;
	}
}