You must be logged in to post your query.
Home › Forums › Chart Support › How can I create a horizontal bar to change display of data
Hi, How could I add a horizontal bar to change the view of the data, just like in Amazon CloudWatch graph?
@murilo-wattsense,
Please take a look at this JSFiddle to add jQuery Slider on Axis X with static data.
____ Shashi Ranjan Team CanvasJS
Hi Shashi, Thanks for the answer!
That’s interesting… so if I want to play with the zoom-in/out of the graph using a slider, basically is the viewport property from the X axis?
Yes, you can use viewportMinimum and viewportMaximum on Axis X to zoom/pan chart programmatically.
Ok! Good to know!! Thanks for the help!!
You must be logged in to reply to this topic. Login/Register