Bug 211773 Legend entries overlap
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/LegendBuilder.java
final Orientation orientation = lg.getOrientation( );
			final Direction direction = lg.getDirection( );
			final Position lgPosition = lg.getPosition( );
			final boolean bPaletteByCategory = ( lg.getItemType( ).getValue( ) == LegendItemType.CATEGORIES );
			Label la = LabelImpl.create( );
			la.setCaption( TextImpl.copyInstance( lg.getText( ) ) );
			ClientArea ca = lg.getClientArea( );
			LineAttributes lia = ca.getOutline( );
			legendData.dSeparatorThickness = lia.getThickness( );
			la.getCaption( ).setValue( "X" ); 
			itm = xs.getTextMetrics( la );
			legendData.dItemHeight = itm.getFullHeight( );
			la.getCaption( ).setValue( ELLIPSIS_STRING );
			itm.reuse( la );
			legendData.dEllipsisWidth = itm.getFullWidth( );
			legendData.dScale = xs.getDpiResolution( ) / 72d;
			legendData.insCa = ca.getInsets( )
					.scaledInstance( legendData.dScale );
			legendData.maxWrappingSize = lg.getWrappingSize( ) *
					legendData.dScale;
			legendData.dHorizontalSpacing = 3 * legendData.dScale;
			legendData.dVerticalSpacing = 3 * legendData.dScale;
			legendData.dSafeSpacing = 3 * legendData.dScale;
			legendData.dHorizonalReservedSpace = legendData.insCa.getLeft( ) +
					legendData.insCa.getRight( ) +
					( 3 * legendData.dItemHeight ) /
					2 +
					legendData.dHorizontalSpacing;
			legendData.dVerticalReservedSpace = legendData.insCa.getTop( ) +