Skip to content

Commit 1e3d5d0

Browse files
committed
call renderingCompleted
1 parent dce7e52 commit 1e3d5d0

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)