Home forums Using CanvasJS Add dropdown box in bar chart. Reply To: Add dropdown box in bar chart.

#23514

Priyanka M S
Member

@tarun,

You can change the axis viewport range by setting viewPortMinimum and viewPortMaximum according to the value from dropdown.
Please take a look at this JSFiddle where viewportMinimum and viewportMaximum are changed according to the values from multiple dropdowns.

__
Priyanka M S
Team CanvasJS