Home › forums › Chart Support › Add dropdown box in bar chart.
I am using the bar chart of the CanvasJS library https://jsfiddle.net/xot9sej3/.
I want a dropdown in this chart. please kindly check the attachment
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
You must be logged in to reply to this topic.