[ML] Fixes time series viewer data binding for forecast data. (#18903)
Fixes the data binding of focusForecastData to renderFocusChart(). An update to focusForecastData in MlTimeSeriesExplorerController wasn't correctly picked up by the directive mlTimeseriesChart because the relevant data wasn't being watched.
This commit is contained in:
parent
b1ca716b80
commit
74868ebb2f
|
@ -112,6 +112,7 @@ module.directive('mlTimeseriesChart', function (
|
||||||
drawContextChartSelection();
|
drawContextChartSelection();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
scope.$watchCollection('focusForecastData', renderFocusChart);
|
||||||
scope.$watchCollection('focusChartData', renderFocusChart);
|
scope.$watchCollection('focusChartData', renderFocusChart);
|
||||||
scope.$watchGroup(['showModelBounds', 'showForecast'], renderFocusChart);
|
scope.$watchGroup(['showModelBounds', 'showForecast'], renderFocusChart);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue