Apexchart Error when using :option from pinia store #2663
Unanswered
Gubaz311
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have pinia store that include option for my apexchart and option from script setup
comparing 2 option using
result:
but when apply to apexchart:
the error is from backend apexchart:
vue3-apexcharts.js?v=0d53ed40:2962 Uncaught (in promise) TypeError: e.push is not a function
I’m attempting to integrate all of my ApexCharts options into the Pinia store. I suspect the issue might be that the data from Pinia isn’t ready when the chart is initialized. However, when I try to access the data using
Beta Was this translation helpful? Give feedback.
All reactions