You must be logged in to post your query.
Home › Forums › Chart Support › Slider Y-axis
My use case is the following:
I want the user to be able to drag a slider up and down through the Y-axis of a line chart.
And I want to be able to update some data based on where the slider is. The data that is being updated doesn’t impact the chart.
Visually, I want the slider to be located at the end opposite to the Y-axis.
It is something very similar to the chart under How Long Do You Plan to Stay?– here: https://www.nytimes.com/interactive/2014/upshot/buy-rent-calculator.html – except the slider would be on the Y-axis.
How Long Do You Plan to Stay?
Any help on this would be much appreciated.
You can set the color of the specific dataPoint according to the value received from slider event handler as shown in this JSFiddle.
You must be logged in to reply to this topic. Login/Register