Implement actions #9225
Answered
by
LeeLenaleee
ariane-blk
asked this question in
Q&A
-
Hi! How do you add the actions as defined in the samples (https://www.chartjs.org/docs/latest/samples/bar/vertical.html for instance) into the setup? Many thanks |
Beta Was this translation helpful? Give feedback.
Answered by
LeeLenaleee
Jun 3, 2021
Replies: 1 comment 1 reply
-
You can put a button on your screen, put your chart in a variable and then add the custom logic in that button to do with the chart what you want, chart.js uses helper functions for it that it wrote but you can also write the logic yourself |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ariane-blk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can put a button on your screen, put your chart in a variable and then add the custom logic in that button to do with the chart what you want, chart.js uses helper functions for it that it wrote but you can also write the logic yourself