-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add labelalias
to various axes
#6481
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
Changes from 13 commits
9314593
1304bc9
3cc9c37
a04ae94
0f74bb3
3df1f9c
1fbf7c7
e4ddc68
cdcd101
fc659e7
2b75c3c
c83ac53
428096e
988cde1
c1d127e
3a8cf97
4f3a6b0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Add `labelalias` to various axes namely cartesian, gl3d, polar, smith, ternary, carpet, indicator and colorbar [[#6481](https://github.com/plotly/plotly.js/pull/6481)] |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,15 @@ | |
"text": "$C^2$" | ||
}, | ||
"showline": true, | ||
"showgrid": true | ||
"showgrid": true, | ||
"labelalias": { | ||
"0": "$0^2$", | ||
"20": "$20^2$", | ||
"40": "$40^2$", | ||
"60": "$60^2$", | ||
"80": "$80^2$", | ||
"100": "$100^2$" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wondering if one could possibly add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure why you would do that, but maybe it would work? Not particularly related to this PR though... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To have dynamic mathjax labels when you zoom in & out. |
||
} | ||
} | ||
}, | ||
"annotations": [ | ||
|
Uh oh!
There was an error while loading. Please reload this page.