Bug 202885 Sample Data issue of Scatter/Area chart [13]
Description: Sample Data issue. Build number: 2.2.0.v20070911-0630 Steps to reproduce: 1. Drag a chart from Palette to Layout, first setlect type as Gantt, then change to Area/Scatter,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/AreaChart.java
* @see org.eclipse.birt.chart.ui.swt.DefaultChartTypeImpl#getDisplayName()
	 */
	public String getDisplayName( )
	{
		return Messages.getString( "AreaChart.Txt.DisplayName" ); 
	}
	public boolean isDimensionSupported( String dimensionType, int nbOfAxes,
			int nbOfSeries )
	{
		boolean isSupported = super.isDimensionSupported( dimensionType,
				nbOfAxes,
				nbOfSeries );
		if ( isSupported )
		{
			if ( TWO_DIMENSION_WITH_DEPTH_TYPE.equals( dimensionType ) )
			{
				isSupported = nbOfAxes <= 1;
			}
		}
		return isSupported;
	}
	/* (non-Javadoc)
	 * @see org.eclipse.birt.chart.ui.swt.interfaces.IChartType#getSeries()
	 */
	public Series getSeries( )
	{
		return (AreaSeries) AreaSeriesImpl.create( );
	}	
}