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/SeriesYSheetImpl.java
( (GanttSeries) getSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) ).getDecorationLabel( )
					.setVisible( cbDecoVisible.getSelection( ) );
			if ( !cbDecoVisible.getSelection( ) && btnDecoration.getSelection( ) )
			{
				btnDecoration.setSelection( false );
				detachPopup( btnDecoration );
			}
			else
			{
				refreshPopupSheet( );
			}
		}
	}
	public void widgetDefaultSelected( SelectionEvent e )
	{
		
	}
	private SeriesDefinition getSeriesDefinitionForProcessing( )
	{
		SeriesDefinition sd = null;
		if ( getChart( ) instanceof ChartWithAxes )
		{
			int iAxis = getParentAxisIndex( getIndex( ) );
			int iAxisSeries = getSeriesIndexWithinAxis( getIndex( ) );
			sd = ( (SeriesDefinition) ( (Axis) ( (Axis) ( (ChartWithAxes) getChart( ) ).getAxes( )
					.get( 0 ) ).getAssociatedAxes( ).get( iAxis ) ).getSeriesDefinitions( )
					.get( iAxisSeries ) );
		}
		else if ( getChart( ) instanceof ChartWithoutAxes )
		{