Bug 179913 Meter Chart color by categories with null values does not work correctly [0001]
Description: Meter Chart color by categories with null values does not work correctly. Build number: 2.2.0.v20070329-1055 Steps to reproduce: 1. New a Meter Chart with values as follows: Moto, null; Nokia, 58; null, 66; Benq, null. 2. In "Format Chart" tab, select "Series" node, choose "Color by Categories". 3. Preview. Expected result: 1. The needle which shows the second value should take the second color. 2. There should be four in the legend area and the third name is null. Actual result: 1. The needle which shows the second value should take the first color. 2. There should be three in the legend area. Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/LegendBuilder.java
return new double[]{
				dWidth, dHeight
		};
	}
	private double[] computeVerticalByLeftRightValue( IDisplayServer xs,
			Chart cm, SeriesDefinition[] seda, RunTimeContext rtc,
			ITextMetrics itm, Label la, LegendData legendData )
			throws ChartException
	{
		double dWidth = 0, dHeight = 0;
		double dW, dMaxW = 0, dColumnWidth;
		double dRealHeight = 0, dExtraWidth = 0, dDeltaHeight;
		ArrayList columnList = new ArrayList( );
		
		double dSeparatorThickness = legendData.dSeparatorThickness
				+ legendData.dHorizontalSpacing;
		for ( int j = 0; j < seda.length; j++ )
		{
			List al = seda[j].getRunTimeSeries( );
			FormatSpecifier fs = seda[j].getFormatSpecifier( );
			boolean oneVisibleSerie = false;
			for ( int i = 0; i < al.size( ); i++ )
			{
				Series se = (Series) al.get( i );
				if ( se.isVisible( ) )
				{
					oneVisibleSerie = true;
				}
				else
				{