Question about decimal positions. #3749
Answered
by
Fil
maurodeoliveira
asked this question in
Q&A
-
Hello, I am using treemap and i have one question about it. In all rects that treemap show i can see value with 2 decimal positions. If i want to show the same value but without decimal positions. Can i do this? Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Answered by
Fil
Aug 8, 2023
Replies: 1 comment
-
Can you share some code or be more specific about which example you're starting from? If the value is displayed with d3.format, try to use a format such as "d" which shows integers. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Fil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you share some code or be more specific about which example you're starting from? If the value is displayed with d3.format, try to use a format such as "d" which shows integers.