diff --git a/x-pack/legacy/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js b/x-pack/legacy/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js index 7ee1c64e189a7..474b4f2470bde 100644 --- a/x-pack/legacy/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js +++ b/x-pack/legacy/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js @@ -432,6 +432,9 @@ const TimeseriesChartIntl = injectI18n( } focusLoadTo = Math.min(focusLoadTo, contextXMax); + const brushVisibility = focusLoadFrom !== contextXMin || focusLoadTo !== contextXMax; + this.setBrushVisibility(brushVisibility); + if (focusLoadFrom !== contextXMin || focusLoadTo !== contextXMax) { this.setContextBrushExtent(new Date(focusLoadFrom), new Date(focusLoadTo), true); const newSelectedBounds = {