Skip to content

Plotly.js newshape texttemplate #6946

Open
@thomasfischer089

Description

@thomasfischer089

Hello,
I have a problem namely
I would like to add a texttemplate to a newsshape. the texttemplate should be an equation similar to (y1-y0)/y0*100
is it possible like this:
newshape: { label: { texttemplate: "Change: %{dy:.2f}/%{y0:.2f}*100"}},

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogfeaturesomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions