rbokeh icon indicating copy to clipboard operation
rbokeh copied to clipboard

feature request: Range selector for time series data

Open ziyadsaeed opened this issue 9 years ago • 4 comments

dygraphs has a nice range selector feature for time series data. Can this feature be added to rbokeh http://rstudio.github.io/dygraphs/gallery-range-selector.html rangeselector

ziyadsaeed avatar Jul 16 '15 13:07 ziyadsaeed

Technically putting something like this together should be possible but it would probably involve a bit of low-level javascript code to add it as a component. If there is a lot of interest in this, I will look into it, but there are several general issues I'm focusing on right now.

hafen avatar Jul 21 '15 17:07 hafen

No problem this isn't a priority. Looking forward to v0.3

ziyadsaeed avatar Jul 21 '15 18:07 ziyadsaeed

This will actually be a fun example attempt when we put in custom js callbacks (see examples toward the bottom of here) that we can build some higher-level plots around.

BTW, v0.3 is coming along - lots of overhaul on the theme stuff among other things. You can try the dev branch if you want. I need to put together an updated tutorial for the dev version so you can actually see what's different. Stay tuned...

hafen avatar Jul 27 '15 20:07 hafen

As discussed at DSC I am interested in helping make rbokeh more extensible in this direction. But I think this case could be handled by using the box selection (restricted to width) tool in the overview plot and then having the x_range of the top plot linked to the selection. The linking is not yet possible (I think), so I posted this issue: https://github.com/bokeh/bokeh/issues/4745.

lawremi avatar Jul 04 '16 05:07 lawremi