From 23848afc1f8b7a1098d4be65a664ae490a257950 Mon Sep 17 00:00:00 2001 From: Dima Arnautov Date: Tue, 7 Jan 2020 04:55:44 -0800 Subject: [PATCH] [ML] persist the brush when expanded to full width (#54020) --- .../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 2e0fc44a158ead..9db6f8f0a1c35b 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])),