Skip to content

Floating point y-axis #1522

Answered by lo5
kennysimsj asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. Instead of y='=shap', pass y='=${{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).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kennysimsj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants