vue-apexcharts icon indicating copy to clipboard operation
vue-apexcharts copied to clipboard

DonutChart throws error when using nuxt keep alive

Open cvakodobro opened this issue 4 years ago • 1 comments

I'm using nuxt for my app, and the keep-alive prop is true for nuxt links. I have a donut chart on each page. Moving from one page to another page results in several errors that are thrown by donut charts.

image

Charts work on each page, but moving from page to page for few times results in over a hundred errors.

Can you please take some time to solve this problem since the problem is noted three years ago (#108)?

cvakodobro avatar Feb 08 '21 17:02 cvakodobro

i think you applied v-if in vue-apexchart component like this

<apexchart
  v-if="loaded"
  class="apex-charts"
  height="320"
  type="donut"
  :options="chartOptions"
  :series="series"
></apexchart>

szczynk avatar Oct 30 '21 12:10 szczynk