How to register JS callbacks on stream updates

Hi,

I am willing to update Glyphs (i.e. lines) whenever data source change occurs (and chart is updated) - I am using data streaming. My JS code works fine when I bind it to some event (like fig.x_range.callback).
The problem is that I want it to update each new data is appended and I can’t find any relevant JS callback.

Sound unreasonable to me to use Python callbacks for frontend only constant updates.

Thanks

Meir,

I'm not sure there is one at the moment. It would be fairly straightforward to add. Can you make a GitHub feature request issue for this? I can try to take a look at soon.

Thanks,

Bryan

···

On Nov 2, 2016, at 5:38 AM, Meir Tseitlin <[email protected]> wrote:

Hi,

I am willing to update Glyphs (i.e. lines) whenever data source change occurs (and chart is updated) - I am using data streaming. My JS code works fine when I bind it to some event (like fig.x_range.callback).
The problem is that I want it to update each new data is appended and I can't find any relevant JS callback.

Sound unreasonable to me to use Python callbacks for frontend only constant updates.

Thanks

--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24dce7df-b6d1-4cea-be4a-cda20eee9b5c%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Done

Thanks

···

On Wednesday, November 2, 2016 at 3:09:08 PM UTC+2, Bryan Van de ven wrote:

Meir,

I’m not sure there is one at the moment. It would be fairly straightforward to add. Can you make a GitHub feature request issue for this? I can try to take a look at soon.

Thanks,

Bryan

On Nov 2, 2016, at 5:38 AM, Meir Tseitlin [email protected] wrote:

Hi,

I am willing to update Glyphs (i.e. lines) whenever data source change occurs (and chart is updated) - I am using data streaming. My JS code works fine when I bind it to some event (like fig.x_range.callback).

The problem is that I want it to update each new data is appended and I can’t find any relevant JS callback.

Sound unreasonable to me to use Python callbacks for frontend only constant updates.

Thanks


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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/24dce7df-b6d1-4cea-be4a-cda20eee9b5c%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.