Skip to content

Treemap click event #105

Closed
Closed
@tanvi-cota

Description

@tanvi-cota

I have been trying to use Treemap with angular-plotly. It seems to render fine, but I have difficulty with the click event, in Treemap.

<plotly-plot *ngIf="plotlyGraph?.data && plotlyGraph?.data.length > 0" [useResizeHandler]="true"
    (plotly_click)="onSelect($event)" [data]="plotlyGraph.data"
    [layout]="plotlyGraph.layout" [config]="plotlyGraph.config"></plotly-plot>

I use the above generic html to create different visuals. I am facing issue when trying to handle the click/select event on Treemap.
I read documentation in plotly.js and they have some event for treemap plotly_treemapclick (plotly/plotly.js#4454). But this event doesn't seem to be available here.

Metadata

Metadata

Assignees

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