Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311483

Summary: Error happens when run SwingChartViewerSelector
Product: z_Archived Reporter: Xiaodan Wang <xwang>
Component: BIRTAssignee: Xingsheng Zhu <xzhu>
Status: CLOSED FIXED QA Contact: Maggie Shen <lshen>
Severity: normal    
Priority: P3 CC: Lionel.wyl
Version: 2.6.0   
Target Milestone: 2.6.0 RC0   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
screenshot none

Description Xiaodan Wang CLA 2010-05-04 03:17:14 EDT
Created attachment 166908 [details]
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
Comment 1 Xiaodan Wang CLA 2010-05-04 03:22:17 EDT
The same happens in /org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/api/viewer/SwtChartViewerSelector.java
Comment 2 Xingsheng Zhu CLA 2010-05-10 00:04:44 EDT
Fixed. Ignore the dimension 2d+ for some chart types as stock chart does.
Comment 3 Maggie Shen CLA 2010-05-11 23:25:03 EDT
verified. If the chart type does not support 2D+ dimension, 2D dimension will be used instead.
Comment 4 Xiaodan Wang CLA 2010-05-12 01:21:30 EDT
closed.