From da8f9c80ea91684317defd9f61148db1ca3a9faf Mon Sep 17 00:00:00 2001 From: Dima Arnautov Date: Mon, 6 Jan 2020 16:22:28 +0100 Subject: [PATCH] [ML] persist the brush when expanded to full width --- .../components/timeseries_chart/timeseries_chart.js | 2 -- 1 file changed, 2 deletions(-) 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 2e0fc44a158ea..9db6f8f0a1c35 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 @@ -445,8 +445,6 @@ const TimeseriesChartIntl = injectI18n( }; this.selectedBounds = newSelectedBounds; } else { - // Don't set the brush if the selection is the full context chart domain. - this.setBrushVisibility(false); const contextXScaleDomain = this.contextXScale.domain(); const newSelectedBounds = { min: moment(new Date(contextXScaleDomain[0])),