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
grad.setDirection( 90 );
			}
			return grad;
		}
		
		return fill;
	}
	/**
	 * Creates Gradient fill by default.
	 * 
	 * @param color
	 *            color to create Gradient
	 * @return
	 */
	public static Gradient createDefaultGradient( ColorDefinition color )
	{
		if ( color == null )
		{
			return null;
		}
		Gradient gradient = AttributeFactory.eINSTANCE.createGradient( );
		int currentLuminance = convertRGBToLuminance( color.getRed( ),
				color.getGreen( ),
				color.getBlue( ) );
		if ( currentLuminance < 200 )
		{
			gradient.setStartColor( color );
			ColorDefinition newColor = (ColorDefinition) EcoreUtil.copy( color );
			newColor.eAdapters( ).addAll( color.eAdapters( ) );
			int lumDiff = 240 - currentLuminance;