How to use Chart.js actions in vue-chart-3? #22
-
Hey there, So I'm actually confused on how to use actions in Chart.js in general, even more so with vue-chart-3. Specifically, I am using the chartjs-zoom-plugin and I want to use the resetZoom call. I've tried to use template refs for my chart. It does show renderChart, but not resetZoom. What I want to do is have a button outside of the chart that can call resetZoom. Does anyone have an example code on how to do this? |
Beta Was this translation helpful? Give feedback.
Answered by
victorgarciaesgi
Aug 2, 2021
Replies: 1 comment 6 replies
-
Hi! Never used actions on Chart.js so I will look into this! Can be a good feature to add :) |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
do-kevin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Never used actions on Chart.js so I will look into this! Can be a good feature to add :)