Skip to content

Sankey node hovertemplate attributes documentation #4240

@alb-erandelcastillo

Description

@alb-erandelcastillo

I'm trying to set a customdata attribute to the nodes of a sankey diagram (i.e. percentage of node value of total value) and display that calculation when hovering over the node. I can't access the parent data customdata attribute in the node hovertemplate.

Could there be documentation for the event data available for node hovertemplates? Also, it'd be helpful to access the x0, x1, y0, y1 of the nodes, is there a way to do this?

@matthewchan15

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