Edward G.

Hide zero values on multi-series chart

Recommended Posts

Hi,

To hide the value '0' in your chart, you need to re-arrange your my_data object array in such a way that for the data where there is no value it should not display the value in the charts. For achieving this please use "showValue" attribute and set it to "0" for that particular scenario.

For example according to your above fiddle  for group 1 device 2 you are passing no value to it , so for that case in the data object array you need to specify in this way 
{"series":"group1", "type":"device2", "showValue":"0"}, which in return will hide the value '0' from the chart.

For further reference please check this modified fiddle :http://jsfiddle.net/apmpL58r/1/

Share this post


Link to post
Share on other sites

Thanks for the reply... what you are saying is helpful and I will try to modify the input data. 

I was hoping for a fusion charts solution, as I don't see why anyone would want the zeroes to display in a multi-series column chart when the column is not visible.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now