FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

plotlyClick event doesnt work · Issue #260 · plotly/angular-plotly.js · GitHub

plotlyClick event doesnt work #260

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL