btnInteractivity = createToggleButton( cmp, Messages.getString( "SeriesYSheetImpl.Label.Interactivity" ) );
popup = new InteractivitySheet( Messages.getString( "SeriesYSheetImpl.Label.Interactivity" ), getContext( ), getSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) .getTriggers( ), true, false ); btnInteractivity = createToggleButton( cmp, popup.getTitle( ), popup );
	private void createButtonGroup( Composite parent )	{		Composite cmp = new Composite( parent, SWT.NONE );		{			cmp.setLayout( new GridLayout( 6, false ) );			GridData gridData = new GridData( GridData.FILL_HORIZONTAL );			gridData.horizontalSpan = 2;			gridData.grabExcessVerticalSpace = true;			gridData.verticalAlignment = SWT.END;			cmp.setLayoutData( gridData );		}		// Label or Region		if ( !( getSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) instanceof StockSeries ) )		{			if ( isMeterSeries( ) )			{				btnDialLabel = createToggleButton( cmp,						Messages.getString( "SeriesYSheetImpl.Label.Labels" ) ); //$NON-NLS-1$ 				btnDialLabel.addSelectionListener( this );				btnDialRegion = createToggleButton( cmp,						Messages.getString( "SeriesYSheetImpl.Label.Region" ) ); //$NON-NLS-1$ 				btnDialRegion.addSelectionListener( this );			}			else			{				btnLabel = createToggleButton( cmp,						Messages.getString( "SeriesYSheetImpl.Label.Labels" ) ); //$NON-NLS-1$ 				btnLabel.addSelectionListener( this );			}		}		else		{			// Disable Label properties for Stock series			btnLabel = new Button( cmp, SWT.NONE );			btnLabel.setVisible( false );		}		// Titles for Pie series		if ( getSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) instanceof PieSeries )		{			btnPieTitle = createToggleButton( cmp,					Messages.getString( "SeriesYSheetImpl.Label.Titles" ) ); //$NON-NLS-1$			btnPieTitle.addSelectionListener( this );		}		// Markers for Line/Area/Scatter series		if ( getSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) instanceof LineSeries )		{			btnLineMarker = createToggleButton( cmp,					Messages.getString( "SeriesYSheetImpl.Label.Markers" ) ); //$NON-NLS-1$			btnLineMarker.addSelectionListener( this );		}		// Interactivity		btnInteractivity = createToggleButton( cmp,				Messages.getString( "SeriesYSheetImpl.Label.Interactivity" ) ); //$NON-NLS-1$		btnInteractivity.addSelectionListener( this );		btnInteractivity.setEnabled( getChart( ).getInteractivity( ).isEnable( ) );		// Trendline		if ( isTrendlineAvailable( ) )		{			btnTrendline = createToggleButton( cmp,					Messages.getString( "SeriesYSheetImpl.Label.Trendline" ) ); //$NON-NLS-1$			btnTrendline.addSelectionListener( this );			btnTrendline.setEnabled( btnShowLine.getSelection( ) );		}		// DataPoint		btnPalette = createToggleButton( cmp,				Messages.getString( "SeriesXSheetImpl.Label.SeriesPalette" ) ); //$NON-NLS-1$		btnPalette.addSelectionListener( this );	}