I am using xwheel_zoom (WheelZoomTool) for a Bokeh chart with datetime axis.
p = figure(x_axis_type="datetime", tools='xwheel_zoom, crosshair, undo, reset')
I provide pandas TimeStamp as the x value of this chart. For example:
Using xwheel_zoom, I could zoom in to see my chart better for a given time (e.g. last hour).
Is there any way in Bokeh I could achieve this zoom functionality by coding or connecting to the xwheel_zoom and controling it with a Bokeh widget (e.g. Bokeh dropdown)?
My objective is to have a button to click on and let it show me the zoomed in x_axis for the last hour, or show the chart between a datetime period I define. Ideally, I do not want to re-define/re-draw the chart again and just want to control the xwheel_zoom functionality.