☰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

Update streaming plot data with AJAX call, (on some event rather than set interval)

Community Support
Harrison
Harrison

All the examples I’ve seen are using polling intervals, is there a way to update the plot via a click event on some bokeh widget?

I looked into assigning the js_on_event attribute of the AjaxDataSource() source object but wasn’t sure if that was the right way about it as looking at some of the CustomJS examples it seems to only be able to transform the existing source data points rather than update the plot with more data points within source (I might be incorrect with this assumption).

⌁   Link to post

End of archived discussion · Replies are disabled