Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311483 - Error happens when run SwingChartViewerSelector
Summary: Error happens when run SwingChartViewerSelector
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.6.0 RC0   Edit
Assignee: Xingsheng Zhu CLA
QA Contact: Maggie Shen CLA
URL:
Whiteboard: Obsolete
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 03:17 EDT by Xiaodan Wang CLA
Modified: 2010-05-12 01:21 EDT (History)
1 user (show)

See Also:


Attachments
screenshot (54.75 KB, image/png)
2010-05-04 03:17 EDT, Xiaodan Wang CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.