How to link the current glyph of a time series plot to change of DateSlider value


I’m using bokeh to create a web page in order to browse geographic maps associated to time series. Hovering over the time series changes the maps dynamically according to the date (position of the cursor on the datetime x axis). I also added a DateSlider widget which I use to easily step back and forth in time with the keyboard arrows and I was wondering if there’s some simple trick to “link” the date changes (change of dateslider value) to the current point in the time series (i.e. by highlighting the current glyph color for the current index in the CDS) corresponding to the current date as I move the slider ? Something that would look similar to the hovertool but controlled by the slider.
I’m using only CustomJS callbacks and no server.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.