Skip to content

Links in plotly x-axis labels not working #1143

@Kkevsterrr

Description

@Kkevsterrr

I'm trying to add links to each of the labels of the x axis of a heatmap. According to the docs html is respected, but the html data is added as 'data-unformatted'. Am I doing something wrong, or is this actually not supported?

<text text-anchor="start" x="0" y="578.4" data-unformatted="<a href=\"MYLINKHERE.html\">axis_label_1</a>" data-math="N" transform="translate(179.72,0) rotate(30,0,572.4)" style="font-family: &quot;Open Sans&quot;, verdana, arial, sans-serif; font-size: 12px; fill: rgb(68, 68, 68); fill-opacity: 1; white-space: pre; pointer-events: all;">
    <a style="cursor:pointer">axis_label_1</a>
</text>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions