Scrollbar on DCC.graph x-axis


I would like to be able to show lets say only 100 data points on the graph, but be able to scroll back and forth across my x-axis. is this possible?

For example here I’m showing 100 data points for a few days and I want to be able to scroll back to see previous days.


You could make a dcc.slider which defines the x-range of the plot and use this as a kind of scroll bar.

can you refer to an example of that please?

I found a previous thread about the problem which may help instead. :slightly_smiling_face: