I would like to know if there is a way in which I can synchronize the data which is displayed in a DataTable with the one shown in the figure.
This would be especially interesting when zooming in on a certrain area of the plot. I’ve tried this by getting the start and end of the x-range of the plot but I was not able to adapt the data displayed in the table.
I think this is manly due to my lack of experience and unterstandig in programming. Thanks for the support.
Sync data in DataTable with data from Figure

Hi,
Certainly possible, but there is nothing that will make it happen automatically. You would need callbacks (either CustomJS for a standalone doc, or real python functions for a Bokeh server app) that trigger on changes to the plot range. These would compare the data in the glyph's data source to the new plot range, and populate a separate data source for the data table with the points that were included in the range.
Thanks,
Bryan
···
On Mar 21, 2019, at 2:08 AM, marmota mare <marmota.mare@gmail.com> wrote:
I would like to know if there is a way in which I can synchronize the data which is displayed in a DataTable with the one shown in the figure.
This would be especially interesting when zooming in on a certrain area of the plot. I've tried this by getting the start and end of the x-range of the plot but I was not able to adapt the data displayed in the table.
I think this is manly due to my lack of experience and unterstandig in programming. Thanks for the support.--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/80872076-d9ff-4c9d-ae11-83d780393335%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

End of archived discussion · Replies are disabled