Home forums Using CanvasJS Set maximum of a data series from the legend click event Reply To: Set maximum of a data series from the legend click event

#19686

Indranil Deo
Member

@electricalbah,

You can achieve this by changing the minimum and maximum of the chart options on legend click and rendering the chart. Please take a look at this jsfiddle.

___________
Indranil Deo,
Team CanvasJS