Browse Source

Fix "this.analyticsController is undefined"

master
rozetko 6 years ago
parent
commit
02ab70786e
  1. 2
      src/panel/graph_panel/graph_ctrl.ts

2
src/panel/graph_panel/graph_ctrl.ts

@ -437,7 +437,7 @@ class GraphCtrl extends MetricsPanelCtrl {
}
}
if(!this.analyticsController.graphLocked) {
if(this.analyticsController === undefined || !this.analyticsController.graphLocked) {
this._graphRenderer.render(this.seriesList);
this._graphLegend.render();
this._graphRenderer.renderPanel();

Loading…
Cancel
Save