Prevent extra loading of plots data (#4120)

This commit is contained in:
Shefali Joshi
2021-08-17 09:51:53 -07:00
committed by GitHub
parent 6dde54bd25
commit 3b92fcdf6c

View File

@ -323,6 +323,8 @@ export default {
return; return;
} }
this.offsetWidth = this.$parent.$refs.plotWrapper.offsetWidth;
this.startLoading(); this.startLoading();
const options = { const options = {
size: this.$parent.$refs.plotWrapper.offsetWidth, size: this.$parent.$refs.plotWrapper.offsetWidth,