data undefined
edwardz8 opened this issue · comments
I’m getting the data back from graphql and it’s rendering to the template no problem, but when trying to pass the data to the chart (PolarChart) I get undefined. I don't believe this is a bug -- i'm sure I'm just overlooking something -- but I also thought it could be useful to post here incase someone in the future runs into a similar issue.
Even though i'm using Vue3 are registerables and ChartData still required like in the demo: https://codesandbox.io/s/demo-vue-chart-3-forked-e3yz2?file=/src/App.vuehttps://codesandbox.io/s/demo-vue-chart-3-forked-e3yz2?file=/src/App.vue -- i'm wondering, because in the documentation it says nothing like that is required for Vue 3.
You should be able to run the repo: https://github.com/edwardz8/vue3-hockey-graphql to see how the data is being logged in the console.
@edwardz8 Sorry for delay I was in vacations!
Do you still have the problem?
@victorgarciaesgi no worries! but last time i checked i was still getting the same error of data undefined
resolved. closing.