Is it possible to get the same range slider functionality found in plotly in Dash?
Here’s what I’m talking about:
In the plotly version of a range slider, you essentially get a small zoomed out version of your plot that you can manipulate the plot range with that you can drag and move along the x axis. I would call this a zoom slider.
Hi, can the range slider that is attached to the graph object be used as an input for a callback?
I’m interested in making the range selection not refresh to the default range whenever the graph gets refreshed
Hi, I ran into the issue of creating a callback for a rangeslider attached to the axes of a graph too.
To do so, use the relayoutData property of a graph in a callback. When a user uses the rangeslider to change the range of an axes, the values within dictionary relayoutData will be changed.
any examples that utilize the rangeslider? current direction is a bit esoteric.
For instance, I understand matching “component_id” and “component_property” with my graph ID and the relayout property, but I don’t understand what format that data takes - is it the max() and min()? Or a new dataframe? the example just does a json dump. Printing out the value of relayout, it’s just a dictionary of None and {“visible”: True}.
Any guidance on how to extract the data from the relayout property?
working to give me back ranges to select,
it seems that depending on whether grabbing in the ‘range slider and selector’ component or the line chart itself the arguments are different: