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
/*******************************************************************************
 * Copyright (c) 2007 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.chart.util;
import java.util.List;
import org.eclipse.birt.chart.model.attribute.AttributeFactory;
import org.eclipse.birt.chart.model.attribute.ColorDefinition;
import org.eclipse.birt.chart.model.attribute.Fill;
import org.eclipse.birt.chart.model.attribute.Gradient;
import org.eclipse.birt.chart.model.attribute.Image;
import org.eclipse.birt.chart.model.attribute.MultipleFill;
import org.eclipse.birt.chart.model.attribute.impl.ColorDefinitionImpl;
import org.eclipse.emf.ecore.util.EcoreUtil;
/**
 * Utility class for Fill conversion.
 */
public class FillUtil