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
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( )
				+ legendData.insCa.getBottom( )
				+ legendData.dVerticalSpacing;
		
		final Block bl = cm.getBlock( );
		final Bounds boFull = bl.getBounds( )
				.scaledInstance( legendData.dScale );
		final Insets ins = bl.getInsets( ).scaledInstance( legendData.dScale );
		final Insets lgIns = lg.getInsets( ).scaledInstance( legendData.dScale );
		int titleWPos = 0;
		int titleHPos = 0;
		final TitleBlock titleBlock = cm.getTitle( );
		final Bounds titleBounds = titleBlock.getBounds( )
				.scaledInstance( legendData.dScale );
		if ( titleBlock.isVisible( ) )
		{
			switch ( titleBlock.getAnchor( ).getValue( ) )