Bug 160954 Legend area disappears when tick Show Value check box for Gantt chart
Legend area disapears when tick Show Value check box for Gantt chart Steps to reproduce: 1. Create a Gantt Chart. 2. Double click the chart, select "Format Chart" button, go to Chart Area->Legend, tick "Legend Visible" check box, tick "Value: Show Value" check box Expected result: Value is shown. Actual result: The legend area dispears.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/LegendBuilder.java
/**
	 * The constructor.
	 */
	public LegendBuilder( )
	{
	}
	/**
	 * Computes the size of the legend. Note the computation relies on the title
	 * size, so the title block must be layouted first before this.
	 * 
	 * @param lg
	 * @param sea
	 * 
	 * @throws GenerationException
	 */
	public final Size compute( IDisplayServer xs, Chart cm,
			SeriesDefinition[] seda, RunTimeContext rtc ) throws ChartException
	{
		
		
		
		
		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( ) ) );