Stocks example - time range update when updating graph for different time range

Hello,

I have build a template based on the stocks example below:

https://github.com/bokeh/bokeh/blob/master/examples/app/stocks/main.py.
When I start using it with raw data that have different time range, it does not work anymore.

The x-range does not update despite having date in the DataSource as provided in the example.
Is that example supposed to handle different time range ?

Thanks a lot for your help

Best,

That example does assume the time series are the same size, because it shares a column data source between the different line renderers. All columns in a column data source must always have the same length. So if you have data with different lengths you will want to create separate data sources for each renderer.

Thanks,

Bryan

···

On Wed, Nov 16, 2016 at 7:00 AM, PH [email protected] wrote:

Hello,

I have build a template based on the stocks example below:

https://github.com/bokeh/bokeh/blob/master/examples/app/stocks/main.py.
When I start using it with raw data that have different time range, it does not work anymore.

The x-range does not update despite having date in the DataSource as provided in the example.
Is that example supposed to handle different time range ?

Thanks a lot for your help

Best,

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/04393cb7-2a23-4990-82f8-e2e28a5bed28%40continuum.io.

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