Vue chart reactive example #1026
Replies: 1 comment
-
I dont know quick-pivot. And then call |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to make a vue chart with vue-chartjs in vue 3 and composition API, the issue comes when I try to make a chart like this one

On this chart I need to put several labels with it's value of consumption on the same bar to difference the consumption of cpu at the same time. I look for internet I did not found any similar example
I need to pivot the data from a API call to put 0's when a user is not using cpu in a specific time that's why I use quick-pivot to ready the dataSet that I use on the :data="cpuReactive" as an argument. I share the approach:
If I put the cpu object to reactive mode a execution of mounted hook occurs so that's why i leave it static, any idea on how can I achieve this?
Beta Was this translation helpful? Give feedback.
All reactions