-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
plotlyClick event doesnt work #260
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Below is in my angular.ts file
<plotly-plot [data]="_traces" [config]="_config" [layout]="_layout" (plotlyClick)="onClick($event)" ></plotly-plot>
TS Code :
onClick(event:any){ console.log(event) }
Not sure why the above code doesn't work,
My end goal is to get the clicked x-axis label in a horizontal bar chart, I am trying with different approaches but didn't work, so just putting this simple code as I am not sure if its possible to implement this feature
The text was updated successfully, but these errors were encountered: