Skip to content

Commit f3989a3

Browse files
authored
Merge pull request #88 from bgranvea/rendering-completed
Call renderingCompleted
2 parents 6667121 + 1e3d5d0 commit f3989a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,9 @@ class PlotlyPanelCtrl extends MetricsPanelCtrl {
517517
});
518518
this.initialized = true;
519519
} else if (this.initialized) {
520-
Plotly.redraw(this.graphDiv);
520+
Plotly.redraw(this.graphDiv).then(() => {
521+
this.renderingCompleted();
522+
});
521523
} else {
522524
console.log('Not initialized yet!');
523525
}

0 commit comments

Comments
 (0)