lblRightYGrouping = new Label( cmpGroup, SWT.NONE ); lblRightYGrouping.setText( label );
lblRightYGrouping = new Label( cmpGroup, SWT.WRAP ); { GridData gd = new GridData( ); gd.widthHint = 100; lblRightYGrouping.setLayoutData( gd ); lblRightYGrouping.setText( label ); }
	private void createRightGroupArea( Composite parent, final String label,			final EList seriesDefn )	{		ISelectDataComponent subUIGroupY = new ISelectDataComponent( ) {			private transient Composite cmpGroup;			private transient Label lblRightYGrouping;			public Composite createArea( Composite parent )			{				cmpGroup = ChartUIUtil.createCompositeWrapper( parent );				lblRightYGrouping = new Label( cmpGroup, SWT.NONE );				lblRightYGrouping.setText( label );				if ( seriesDefn != null && !seriesDefn.isEmpty( ) )				{					int index = 1;					for ( Iterator iterator = seriesDefn.iterator( ); iterator.hasNext( ); index++ )					{						if ( seriesDefn.size( ) == 1 )						{							// Remove the title when only single series							index = 0;						}						createRightAxisArea( cmpGroup,								index,								( (SeriesDefinition) iterator.next( ) ) );					}				}				return cmpGroup;			}			public void selectArea( boolean selected, Object data )			{			}			public void dispose( )			{				// TODO Auto-generated method stub			}		};		subUIGroupY.createArea( parent );		components.add( subUIGroupY );	}