Home › forums › Chart Support › How to hide a y value of 0 from a shared tooltip
Tagged: shared tooltip, tooltip
How can I hide a y value of 0 from a shared tooltip?
See my jsfiddle: https://jsfiddle.net/pigottm/v3gy9aph/11/
For example, “peanuts” has a 0 y value in 2002 and I don’t want the 2002 value to appear in the tooltip. I only want to see the 2001 value.
You can use contentFormatter to format the content of toolTip according to your requirement. Please take a look at this updated JSFiddle.
That’s brilliant. Thanks Vishwas.
You must be logged in to reply to this topic.