DB2: chart.js chart cleared on changing tabs

Then you could try this instead:

mounted(){
   this.onInput(this.msg.payload)
   this.$nextTick(() => {
      this.updateChart() 
    });
}

Then again, there is a mess of vuetify here as well. The setTimeout (not setInterval as that will keep spawning) within the nextTick callback could then work. It is messy.