[Chartjs]-Update Chart vue3-chart with new data

1👍

We use a simple method:

  1. add a v-if to your chart, for example v-if="renderChart"
  2. It is false in the beginning but when data is loaded change it to true
  3. Whenever you expect the data to change, change it to false again and after change of data update it to true once again.

It has worked for us for a long time now.

Leave a comment