You must be logged in to post your query.
Home › Forums › Chart Support › Add dropdown box in bar chart.
Hi Team,
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 https://prnt.sc/lla1t7
@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
You must be logged in to reply to this topic. Login/Register