The restriction that all CDS columns have the same length means you will have to have two ColumnDataSource objects, one or the time series, and one for the histogram. The stream method is per-CDS, there is no way to stream to more that one CDS with a single function. But you can just always call stream on both in succession:
On Nov 5, 2018, at 06:44, [email protected] wrote:
Im using the Bokeh Server and a ColumnDataSource to update 5 streaming plots. These plots display the last 30 points in a time series. Now I would like to add a 6th plot - this time a histogram. This histogram is of prior data and so there are about 400 data points to be put into it. Occasionally I would like to add a new data point - growing the data that goes into the plot. So for example, at some other time in the future it will have 401 points, 402 points... etc.
Can I do this with ColumnDataSource? My understanding is that all arrays in the column data source must be of the same length. If not, can I push 2 ColumnDataSources in source.stream()?
Thanks for your help!
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/b3811052-7b6c-4223-9027-fc7d3660ae12%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.