Home › Forums › Feature Requests & Feedback › on button /legend switch › Reply To: on button /legend switch

#21032

Deepa,

You can achieve this by changing axis minimum and maximum according to the button being clicked. Please take a look at this jsfiddle.

—
Vishwas R
Team CanvasJS