-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create an event to get the clicked data of the graph #203
Comments
This works for me: |
Unfortunately this doesn't seem to work (anymore). I'm using Vue3 and version 1.1.0 of vue-google-charts. It's impossible to get the current selection of a chart. chartObject doesn't seem to exist anymore? |
Found a workaround for vue 3, if you use the @ready you can receive a proxy to the chartObject
|
I don't know how to use click event with Nuxt 3. If someone can help. Thank you. |
Use the
The |
chartEvents: {
'click': () => {
const selection = ????
}
in old versions i see that "ref" works like ->this.$refs.gchart.getSelection(), but not works now.
any help?
The text was updated successfully, but these errors were encountered: