
I’m trying to implement a callback on the extra x_ranges and y_ranges of a plot.
The plot was created client side in javascript.
The code for creating the plot looks like this:
var error_plot = Bokeh.Plotting.figure({
plot_width: 800,
plot_height: 600,
title: seriesM + ': ' + interval + ': ' + metric,
tools: "pan,box_zoom,reset,save",
toolbar_location: "below",
sizing_mode:"stretch_both",
y_axis_label: metric,
x_axis_label: "Horizons",
});
In python I can create the callback like this:
plot.extra_x_ranges['logo_x_range'].js_on_change("start",CustomJS(args=dict(plot=self.plot),code=callback))
I do not see .js_on_change in the javascript API, or anything that works equivalently.
Are there any online resources that demonstrate how to do this?
Any help would be appreciated.
Thanks in advance

