I have a Select() widget with different options, and my x_axis_type is "datetime". Depending on the Select() option I display a broader or narrower time range of data. I want to modify my DatetimeTickFormatter when changing Select() options. So far, I have tried this code within jv_on_change():
for (let i = 0; i < formatters.length; i++) {
formatters[i].minutes = new_format.minutes;
formatters[i].hours = new_format.hours;
formatters[i].days = new_format.days;
}
Having inputted formatters as: args={"formatters": [plot.xaxis[0].formatter for plot in plots]}.
If I use console.log(formatters[i]), I can check that the object is updated, but I do not see the change in my plots. How can I achieve this (if it is possible)?