Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321499 - Bar chart with zeroes in series caueses wrong chart
Summary: Bar chart with zeroes in series caueses wrong chart
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 2.6.1   Edit
Assignee: Heng Li CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard: Obsolete
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-02 08:45 EDT by Jan Lerby CLA
Modified: 2010-08-05 23:12 EDT (History)
2 users (show)

See Also:


Attachments
2nd serie is empty and chart is wrong (10.98 KB, image/png)
2010-08-02 08:45 EDT, Jan Lerby CLA
no flags Details
after 1st workaround (8.41 KB, image/png)
2010-08-02 08:46 EDT, Jan Lerby CLA
no flags Details
bar chart with bug (98.37 KB, application/octet-stream)
2010-08-02 08:48 EDT, Jan Lerby CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lerby CLA 2010-08-02 08:45:06 EDT
Build Identifier: 20100617-1415

Hi, due to my question in BIRT forum - http://www.birt-exchange.org/org/forum/index.php/topic/20086-bar-chart-with-2-series-in-birt-2-6/page__p__66415&#entry66415 I add a bug.

If I have two series, first with datas and second is empty. The chart is wrong.
There is 2 possible workarounds:
1.to add small fraction in sql query to empty column data. I add 0.001
2.to change decimal to float or integer type of data


Reproducible: Always
Comment 1 Jan Lerby CLA 2010-08-02 08:45:53 EDT
Created attachment 175706 [details]
2nd serie is empty and chart is wrong
Comment 2 Jan Lerby CLA 2010-08-02 08:46:27 EDT
Created attachment 175707 [details]
after 1st workaround
Comment 3 Jan Lerby CLA 2010-08-02 08:48:28 EDT
Created attachment 175708 [details]
bar chart with bug
Comment 4 Heng Li CLA 2010-08-03 23:34:01 EDT
Fixed. This is caused by an error of transforming infinitesimal number of BigDecimal in chart data engine.
Comment 5 Xiaoying Gu CLA 2010-08-05 23:12:35 EDT
Verified in daily build 2.6.1.v20100806-0630