Home › forums › Using CanvasJS › Adding a custom button in legend
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 1 month, 1 week ago.
how can i add a simple button to toggle all dataSeries inside the legend?
Here’s the sjfiddle .
You can hide / unhide all the dataseries by toggling visible property of the dataseries. Please take a look at this JSFiddle.
You must be logged in to reply to this topic.