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/TubeChart.java
} ) );
			newChart.getPrimaryBaseAxes( )[0].getAncillaryAxes( ).clear( );
			Axis zAxisAncillary = AxisImpl.create( Axis.ANCILLARY_BASE );
			zAxisAncillary.setTitlePosition( Position.BELOW_LITERAL );
			zAxisAncillary.getTitle( )
					.getCaption( )
					.setValue( Messages.getString( "ChartWithAxesImpl.Z_Axis.title" ) ); 
			zAxisAncillary.getTitle( ).setVisible( true );
			zAxisAncillary.setPrimaryAxis( true );
			zAxisAncillary.setLabelPosition( Position.BELOW_LITERAL );
			zAxisAncillary.setOrientation( Orientation.HORIZONTAL_LITERAL );
			zAxisAncillary.getOrigin( ).setType( IntersectionType.MIN_LITERAL );
			zAxisAncillary.getOrigin( )
					.setValue( NumberDataElementImpl.create( 0 ) );
			zAxisAncillary.getTitle( ).setVisible( false );
			zAxisAncillary.setType( AxisType.TEXT_LITERAL );
			newChart.getPrimaryBaseAxes( )[0].getAncillaryAxes( )
					.add( zAxisAncillary );
			newChart.getPrimaryOrthogonalAxis( newChart.getPrimaryBaseAxes( )[0] )
					.getTitle( )
					.getCaption( )
					.getFont( )
					.setRotation( 0 );
			SeriesDefinition sdZ = SeriesDefinitionImpl.create( );
			sdZ.getSeriesPalette( ).shift( 0 );
			sdZ.getSeries( ).add( SeriesImpl.create( ) );
			zAxisAncillary.getSeriesDefinitions( ).add( sdZ );
		}
		addSampleData( newChart );
		return newChart;