From 3b5b7f181ac47867875c515d28ce766cb18c8e0a Mon Sep 17 00:00:00 2001 From: rozetko Date: Thu, 30 May 2019 18:50:39 +0300 Subject: [PATCH] Grafana 6: this._newAnalyticUnit is undefined #324 (#325) --- src/panel/graph_panel/graph_ctrl.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/panel/graph_panel/graph_ctrl.ts b/src/panel/graph_panel/graph_ctrl.ts index 8472b35..cdbe696 100644 --- a/src/panel/graph_panel/graph_ctrl.ts +++ b/src/panel/graph_panel/graph_ctrl.ts @@ -597,8 +597,7 @@ class GraphCtrl extends MetricsPanelCtrl { ] ); } - this.$scope.$digest(); - this.render(this.seriesList); + this.refresh(); } async onAnalyticUnitAlertChange(analyticUnit: AnalyticUnit) {