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.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/TriggerDataComposite.java
{
			cmbTriggerType.unmarkSelection( triggerType );
			return;
		}
		cmbTriggerType.markSelection( triggerType );
		Object oldTrigger = triggersMap.get( triggerType );
		Object newTrigger = getTrigger( );
		if ( oldTrigger != null )
		{
			int index = triggersList.indexOf( oldTrigger );
			if ( index >= 0 )
			{
				triggersList.set( index, newTrigger );
			}
		}
		else
		{
			triggersList.add( newTrigger );
		}
		triggersMap.put( triggerType, newTrigger );
	}
	private String getAdvancedButtonText( boolean bAdvanced )
	{
		if ( bAdvanced )
		{
			return Messages.getString( "TriggerDataComposite.Text.OpenAdvanced" ); 
		}
		return Messages.getString( "TriggerDataComposite.Text.Advanced" ); 
	}
}