javascript - Bokeh, zoom only on single axis, adjust another axis accordingly -


how can 1 make bokeh use zoom on 1 axis , automatically scale objects, take space given , add padding on extreme points off zoom-able axis parallels, while rendering empty space out of scope?

in other words (or "madskills" exact): example plot.

this used stocks plotting, consider want copy zoom behavior of https://www.tradingview.com/chart/?symbol=fx:xauusd bokeh. thank in advance.

as of bokeh 0.12.7 there nothing built-in this. auto-ranging on entire data set. there no option have auto ranging happen on subset of data visible according extents of other dimension.

it's possible extend bokeh, it conceivable write custom extension subclass of datarange1d not trivial matter:

http://bokeh.pydata.org/en/latest/docs/user_guide/extensions.html

however, seems reasonable feature request, i'd encourage file github issue discuss adding capability directly core library:

https://github.com/bokeh/bokeh/issues


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -