Project: Birt
Bug 103447 Set "string" as chart data type then preview, it is displayed not friendly.
Reported: 2005-07-12 01:59:00 | Status: closed fixed

Description: Set "string" as chart data type then preview, it is displayed not friendly. Steps to reproduce: 1.Create a chart, set x axis and y axis data type as "string". 2.Preview. Expected result: Error message appears. Actual result: a strange chart is displayed not correctly.

Files changed in fix:
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/aggregate/AggregateFunctionAdapter.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/DataSetIterator.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/IConstants.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/ValueFormatter.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWith2DAxes.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/RunTimeContext.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/ColorDefinitionImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/Axis.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/ChartPreferences.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/ComponentFactory.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/ComponentPackage.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/CurveFitting.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/Grid.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/Label.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/MarkerLine.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/MarkerRange.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/Scale.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/Series.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/AxisImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ChartPreferencesImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ComponentFactoryImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ComponentPackageImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/CurveFittingImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/GridImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/LabelImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/MarkerLineImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/MarkerRangeImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ScaleImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/SeriesImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/util/ComponentAdapterFactory.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/util/ComponentResourceFactoryImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/util/ComponentResourceImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/util/ComponentSwitch.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/impl/ChartImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/Block.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/ClientArea.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/LabelBlock.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/LayoutFactory.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/LayoutPackage.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/Legend.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/Plot.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/BlockImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/ClientAreaImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/LabelBlockImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/LayoutFactoryImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/LayoutPackageImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/LegendImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/PlotImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/TitleBlockImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/util/LayoutAdapterFactory.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/util/LayoutResourceFactoryImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/util/LayoutResourceImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/util/LayoutSwitch.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/AreaSeries.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/BarSeries.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/LineSeries.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/PieSeries.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/StockSeries.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/TypeFactory.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/TypePackage.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/AreaSeriesImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/BarSeriesImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/LineSeriesImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/PieSeriesImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/ScatterSeriesImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/StockSeriesImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/TypeFactoryImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/TypePackageImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/util/TypeAdapterFactory.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/util/TypeResourceFactoryImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/util/TypeResourceImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/util/TypeSwitch.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/BaseRenderer.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/CurveRenderer.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/util/CDateTime.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/util/PluginSettings.java