As of now, visible property is applicable only at dataSeries level. However, in pie and doughnut charts, the legends are shown for individual dataPoints rather than dataSeries. In your fiddle, you are hiding the entire dataSeries of pie chart, so the entire chart gets hidden.
Instead, on legend click, you can manipulate the dataPoints and render the chart as per your requirement.
You’re right, Suyash, pie/doughnut charts are single series.
Given this is a common requirement (many competitors implement this feature as built-in, see an example), I would truly appreciate a working sample, if you have better knowledge on how to manipulate those dataPoints. I tried without success.
This reply was modified 3 months, 2 weeks ago by Cristi S..
This reply was modified 3 months, 2 weeks ago by Cristi S.. Reason: added example