Home › forums › Using CanvasJS › How to hide dataseries in chart.
This topic contains 4 replies, has 2 voices, and was last updated by Sunil Urs 5 years ago.
Is there a way to toggle whether a graph or data series is shown? I want to be able to send a function call that will toggle a specific graphs visibility.
Now we have a Tutorial on Hiding / Showing Data Series in a Chart.
As of now you need to add/remove the dataseries from data array to achieve the same. It’ll be possible via API in v1.5
Thanks for the response, when can we expect v1.5 to be released?
You can expect v1.5 in around 2 months.
In version 1.4 we have implemented legend events and visible property for data series. Using these features we can hide unhide data series on legend click.
You must be logged in to reply to this topic.