Bug 214453 Some Legend Entries are not correct when the text is shortened by ellipsis
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/LegendBuilder.java
* 
	 * @param lg
	 * @param sea
	 * 
	 * @throws GenerationException
	 */
	public final Size compute( IDisplayServer xs, Chart cm,
			SeriesDefinition[] seda, RunTimeContext rtc ) throws ChartException
	{
		ITextMetrics itm = null;
		try
		{
			
			
			
			
			final Legend lg = cm.getLegend( );
			LegendData legendData = new LegendData( );
			if ( !lg.isSetOrientation( ) )
			{
				throw new ChartException( ChartEnginePlugin.ID,
						ChartException.GENERATION,
						"exception.legend.orientation.horzvert", 
						Messages.getResourceBundle( xs.getULocale( ) ) );
			}
			if ( !lg.isSetDirection( ) )
			{
				throw new ChartException( ChartEnginePlugin.ID,
						ChartException.GENERATION,
						"exception.legend.direction.tblr",