Floating point y-axis #1522
Answered
by
lo5
kennysimsj
asked this question in
Q&A
Floating point y-axis
#1522
-
Is there a way to have the y-axis of the plot to be rounded up to 2 decimal points? |
Beta Was this translation helpful? Give feedback.
Answered by
lo5
Jun 28, 2022
Replies: 1 comment
-
Yes. Instead of Additional formatting options for the (Pass snake_case instead of camelCase). |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kennysimsj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. Instead of
y='=shap'
, passy='=${{intl shap minimum_fraction_digits=2 maximum_fraction_digits=2}}'
.Additional formatting options for the
intl()
function: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat(Pass snake_case instead of camelCase).