Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
First series in bar chart is showing incorrect values when some values are zero and some non-zero
nairwen
<p>Hi,</p>
<p> </p>
<p>I'm trying to make a report which shows hostnames on x-axis and a number of occurrences of events on y-axis.</p>
<p> </p>
<p>My report shows the following data as you can see on the picture:</p>
<p>host1: series1 (event1) = 1, ...</p>
<p>host2: series1 (event1) = 1, ...</p>
<p>host3: series1 (event1) = 1, ...</p>
<p> </p>
<p>But the actual data are:</p>
<p>host1: series1 (event1) = 1, ...</p>
<p>host2: series1 (event1) = 0, ...</p>
<p>host3: series1 (event1) = 0, ...</p>
<p> </p>
<p>So there are incorrect values shown for host2 and host3. This happens when some values on series1 are zero and some non-zero, then the zero values are not correctly represented.</p>
<p> </p>
<p>Is there any way to hide series with zero values?</p>
<p> </p>
<p>Best regards,</p>
<p>Nairwen</p>
Find more posts tagged with
Comments
mwilliams
You could filter those values out of your chart.<br><br>What does the data look like for your chart for both series? Also, what's your BIRT version?
nairwen
<p>Hi Michael,<br>
<br>
thanks for quick response. I'm using BIRT version 4.3.2.<br>
<br>
The data for the chart looks like this:<br>
host1 - event1 = 1, event2 = 10, event3 = 4<br>
host2 - <strong>event1 = 0</strong>, event2 = 10, event3 = 4<br>
host3 - <strong>event1 = 0</strong>, event2 = 5, event3 = 2</p>
<p> </p>
<p>But the chart is showing wrong values for host2 and host3 as you can see on the picture.</p>
nairwen
<p>Solved it. There was an error in one of the scripts.</p>
<p> </p>
<p>Thanks anyway!</p>
mwilliams
Great! Glad you figured it out. Let us know whenever you have questions.