Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plotly.js newshape texttemplate #6946

Open
isetthestandard opened this issue Apr 2, 2024 · 1 comment
Open

Plotly.js newshape texttemplate #6946

isetthestandard opened this issue Apr 2, 2024 · 1 comment

Comments

@isetthestandard
Copy link

isetthestandard commented Apr 2, 2024

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

@archmoj
Copy link
Contributor

archmoj commented Apr 18, 2024

cc: @emilykl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants