Home › forums › Using CanvasJS › Add dropdown box in bar chart.
This topic contains 1 reply, has 2 voices, and was last updated by Priyanka M S 7 months, 4 weeks ago.
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.