Bug 182270 Sample Data issue [0001]
Description: Sample Data issue. Build number: 2.2.0.v20070413-1121 Steps to reproduce: 1. Drag a chart from Palette to Layout, first setlect type as Gantt, then change back to Bar,check the "Chart Preview" pane. Expected result: Y Axis is still of linear type. Actual result: Y Axis is of Date/Time type. Error log: N/A
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/LineChart.java
Orientation orientation )
	{
		Vector vSubTypes = new Vector( );
		if ( sDimension.equals( TWO_DIMENSION_TYPE )
				|| sDimension.equals( ChartDimension.TWO_DIMENSIONAL_LITERAL.getName( ) ) )
		{
			if ( orientation.equals( Orientation.VERTICAL_LITERAL ) )
			{
				imgStacked = UIHelper.getImage( "icons/wizban/stackedlinechartimage.gif" ); 
				imgPercentStacked = UIHelper.getImage( "icons/wizban/percentstackedlinechartimage.gif" ); 
				imgSideBySide = UIHelper.getImage( "icons/wizban/sidebysidelinechartimage.gif" ); 
			}
			else
			{
				imgStacked = UIHelper.getImage( "icons/wizban/horizontalstackedlinechartimage.gif" ); 
				imgPercentStacked = UIHelper.getImage( "icons/wizban/horizontalpercentstackedlinechartimage.gif" ); 
				imgSideBySide = UIHelper.getImage( "icons/wizban/horizontalsidebysidelinechartimage.gif" ); 
			}
			vSubTypes.add( new DefaultChartSubTypeImpl( OVERLAY_SUBTYPE_LITERAL,
					imgSideBySide,
					sOverlayDescription,
					Messages.getString( "LineChart.SubType.Overlay" ) ) ); 
			vSubTypes.add( new DefaultChartSubTypeImpl( STACKED_SUBTYPE_LITERAL,
					imgStacked,
					sStackedDescription,
					Messages.getString( "LineChart.SubType.Stacked" ) ) ); 
			vSubTypes.add( new DefaultChartSubTypeImpl( PERCENTSTACKED_SUBTYPE_LITERAL,
					imgPercentStacked,
					sPercentStackedDescription,
					Messages.getString( "LineChart.SubType.PercentStacked" ) ) );