Shrabanee

How to hide count, when it is 0 for stack column chart?

Recommended Posts

Hi,

I don't want to show count on the bar for stack column chart, when the value is 0.

5a291aa03f37e_ScreenShot2017-12-07at3_05_30PM.png.2ab86bd0e40ca6db5fdf462ec966ba31.png

As you can see in the above image, 0 is shown in the bottom, which does not make any sense to show, when the count is 0. It is confusing as well for the user.

Is there any way to hide it? 

Thanks.

Share this post


Link to post
Share on other sites

Hi Shrabanee,

 

FusionCharts Stacked charts displays the values for the plots with zero value, as zero is also considered as a valid value.

However, if you do not want to display the value when it is zero, then you need to set the "showValue" attribute to "0" for that respective data objects value to be hidden.

Sample fiddle : http://jsfiddle.net/9o9zx0xj/

For further reference, please check this documentation link : https://www.fusioncharts.com/dev/basic-chart-configurations/data-values.html


Thanks,

Akash.

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