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
gdLBLTriggerEvent.horizontalIndent = 4;
		lblTriggerEvent.setLayoutData( gdLBLTriggerEvent );
		lblTriggerEvent.setText( Messages.getString( "TriggerDataComposite.Lbl.Event" ) ); 
		cmbTriggerType = new CTextCombo( this, SWT.NONE );
		GridData gdCMBTriggerType = new GridData( GridData.FILL_HORIZONTAL );
		cmbTriggerType.setLayoutData( gdCMBTriggerType );
		cmbTriggerType.addListener( new Listener( ) {
			public void handleEvent( Event event )
			{
				updateTrigger( lastTriggerType );
				updateActionTypeItems( );
				Trigger trigger = (Trigger) triggersMap.get( cmbTriggerType.getText( ) );
				
				if ( trigger != null && triggerMatrix.check( trigger ) )
				{
					cmbActionType.setText( getActionText( trigger ) );
				}
				else
				{
					cmbActionType.select( 0 );
				}
				updateUI( trigger );
				switchUI( );
				lastTriggerType = cmbTriggerType.getText( );
			}
		} );
		Label lblActionType = new Label( this, SWT.NONE );
		GridData gdLBLActionType = new GridData( );
		gdLBLActionType.horizontalIndent = 4;
		lblActionType.setLayoutData( gdLBLActionType );