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
dHeight, dWidth
		};
	}
	private static int[] getDuplicateIndices( int[] a1, int[] a2 )
	{
		if ( a1 == null || a2 == null || a1.length == 0 || a2.length == 0 )
		{
			return null;
		}
		
		Arrays.sort( a1 );
		Arrays.sort( a2 );
		if ( a1[a1.length - 1] < a2[0] || a1[0] > a2[a2.length - 1] )
		{
			return null;
		}
		
		if ( a1.length > a2.length )
		{
			int[] tmp = a1;
			a1 = a2;
			a2 = tmp;
		}
		List dup = new ArrayList( );
		
		for ( int i = 0; i < a1.length; i++ )
		{
			if ( Arrays.binarySearch( a2, a1[i] ) >= 0 )
			{
				dup.add( new Integer( a1[i] ) );