Bug 192585 The Tube/Cone/Pyramid Chart Y Axis type will be Date/Time after change type to Gantt then change back [0001]
Description: The Tube/Cone/Pyramid Chart Y Axis type will be Date/Time after change type to Gantt then change back Build number: 2.2.0.v20070614-0939 Steps to reproduce: 1. Drag a chart from the Palette to the Layout. 2. Select chart type as Gantt, then change to Tube/Cone/Pyramid. Expected result: The Chart in the preview pane is the same as the one when chart builder first opened. Actual result: Their Y Axis type change to Date/Time(see the screenshot). Error log: N/A
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/PyramidChart.java
import org.eclipse.birt.chart.ui.swt.HelpContentImpl;
import org.eclipse.birt.chart.ui.swt.interfaces.IHelpContent;
import org.eclipse.birt.chart.ui.swt.interfaces.ISelectDataComponent;
import org.eclipse.birt.chart.ui.swt.interfaces.ISelectDataCustomizeUI;
import org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext;
import org.eclipse.birt.chart.ui.swt.wizard.data.DefaultBaseSeriesComponent;
import org.eclipse.birt.chart.ui.swt.wizard.internal.ChartPreviewPainter;
import org.eclipse.birt.chart.ui.util.ChartCacheManager;
import org.eclipse.birt.chart.ui.util.ChartUIUtil;
import org.eclipse.birt.chart.ui.util.UIHelper;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.swt.graphics.Image;
/**
 * 
 */
public class PyramidChart extends DefaultChartTypeImpl
{
	/**
	 * Comment for <code>TYPE_LITERAL</code>
	 */
	public static final String TYPE_LITERAL = "Pyramid Chart"; 
	private static final String STACKED_SUBTYPE_LITERAL = "Stacked"; 
	private static final String PERCENTSTACKED_SUBTYPE_LITERAL = "Percent Stacked"; 
	private static final String SIDE_SUBTYPE_LITERAL = "Side-by-side"; 
	public static final String CHART_TITLE = Messages.getString( "PyramidChart.Txt.DefaultPyramidChartTitle" ); 
	private static final String sStackedDescription = Messages.getString( "PyramidChart.Txt.StackedDescription" ); 
	private static final String sPercentStackedDescription = Messages.getString( "PyramidChart.Txt.PercentStackedDescription" ); 
	private static final String sSideBySideDescription = Messages.getString( "PyramidChart.Txt.SideBySideDescription" ); 
	private transient Image imgIcon = null;