☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

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

Community Supportcustomjs
jmb
jmb

Hi,

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.

Thanks,
Jean-Marc

⌁   Link to post

End of archived discussion · Replies are disabled