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

Bug 321499

Summary: Bar chart with zeroes in series caueses wrong chart
Product: z_Archived Reporter: Jan Lerby <lerby84>
Component: BIRTAssignee: Heng Li <liheeng>
Status: VERIFIED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: minor    
Priority: P3 CC: bluesoldier, liheeng
Version: unspecified   
Target Milestone: 2.6.1   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
2nd serie is empty and chart is wrong
none
after 1st workaround
none
bar chart with bug none

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