diff --git a/src/plugins/plot/MctPlot.vue b/src/plugins/plot/MctPlot.vue index 02f48c5e14..2e8eb796de 100644 --- a/src/plugins/plot/MctPlot.vue +++ b/src/plugins/plot/MctPlot.vue @@ -323,6 +323,8 @@ export default { return; } + this.offsetWidth = this.$parent.$refs.plotWrapper.offsetWidth; + this.startLoading(); const options = { size: this.$parent.$refs.plotWrapper.offsetWidth,