created an attachment (id=166908)
screenshot

description:
error happens when run swingchartviewerselector.

build number:
2.6.0.v20100504-0630

steps to reproduce:
1. run /org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/api/viewer/swingchartviewerselector.java.
2. select scatter, 2d with depth and click "update".

expected result:
2d+ is disabled and no exception.

actual result:
exception is thrown out (see the screenshot).

error log:
org.eclipse.birt.chart.exception.chartexception
the same happens in /org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/api/viewer/swtchartviewerselector.java
fixed. ignore the dimension 2d+ for some chart types as stock chart does.
verified. if the chart type does not support 2d+ dimension, 2d dimension will be used instead.
closed.