My data point for a stacked Bar chart is showing up even when the value is 0

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Piyush on 22nd July 2013
data = [34,33,0,2,42]
colors = ['rgb(146, 208, 80)', 'yellow', 'red', 'grey', '#B07CD2']

The data point with color red should not show up on the stacked bar because its value is 0. And yet it does, a very thin layer, but enough to get noticed.

How can i ensure data points with 0 do not show up on the chart?

Posted by RGraph support on 22nd July 2013
Hi there,

OK I've made a slight change so that 0 segments of a stacked bar are not shown at all if they have a zero height. It will be a part of the next beta.


Posted by Piyush on 22nd July 2013
Cheers, Richard!

Add a reply

« Back to message list