From 3b92fcdf6cd5f139baa8535b0c4d9ca5ed7ffd81 Mon Sep 17 00:00:00 2001 From: Shefali Joshi Date: Tue, 17 Aug 2021 09:51:53 -0700 Subject: [PATCH] Prevent extra loading of plots data (#4120) --- src/plugins/plot/MctPlot.vue | 2 ++ 1 file changed, 2 insertions(+) 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,