Bug 193465 Series color is incorrect in cone chart [0001]
Description: Series color is incorrect in cone chart. Build version:2.2.0v20070620-0630 Steps to reproduce: 1. Get the attached report design file, preview in layout. Expected result: The series is grouped by city, but the displayed plot color is inconsistent with legend color.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/util/FillUtil.java
ColorDefinition cd1 = (ColorDefinition) fills.get( 1 );
			return getSortedColors( true, cd0, cd1 ).brighter( );
		}
		return null;
	}
	/**
	 * Returns a brighter fill.
	 * 
	 * @param fill
	 * @return
	 */
	public static Fill getBrighterFill( Fill fill )
	{
		if ( fill instanceof Image )
		{
			return fill;
		}
		return getBrighterColor( fill );
	}
	static ColorDefinition getSortedColors( boolean bBrighter,
			ColorDefinition cd1, ColorDefinition cd2 )
	{
		int result = ( cd1.getRed( ) + cd1.getGreen( ) + cd1.getBlue( ) )
				- ( ( cd2.getRed( ) + cd2.getGreen( ) + cd2.getBlue( ) ) );
		if ( bBrighter )
		{
			return result > 0 ? cd1 : cd2;
		}
		return result > 0 ? cd2 : cd1;
	}