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/wizard/format/series/NeedleSheetImpl.java
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
/**
 * @author Actuate Corporation
 * 
 */
public class NeedleSheetImpl extends SubtaskSheetImpl implements
		SelectionListener
{
	public void createControl( Composite parent )
	{
		cmpContent = new Composite( parent, SWT.NONE );
		{
			GridLayout glContent = new GridLayout( 2, true );
			cmpContent.setLayout( glContent );
			GridData gd = new GridData( GridData.FILL_BOTH );
			cmpContent.setLayoutData( gd );
		}
		NeedleComposite cmpNeedle = new NeedleComposite( cmpContent,
				getContext( ),
				(DialSeries)getSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) );
		cmpNeedle.setLayoutData( new GridData( GridData.FILL_BOTH ) );
		createButtonGroup( cmpContent );
	}
	private void createButtonGroup( Composite parent )
	{
		Composite cmp = new Composite( parent, SWT.NONE );
		{