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

sunburst plot is rounding when it shouldn't v2.1.8 #117

Open
michaelcurry1123 opened this issue May 3, 2023 · 3 comments
Open

sunburst plot is rounding when it shouldn't v2.1.8 #117

michaelcurry1123 opened this issue May 3, 2023 · 3 comments

Comments

@michaelcurry1123
Copy link

The sunburstR package rounds counts without the user asking too. How can I change this behavior? Below the numbers will display as 810, 120, 140 respectively. This doesn't happen when numbers are < 100. From the documentation there doesn't seem to be a way to address this.

library(sunburstR)
df <- data.frame(path = c("A","B","C"),
pop = c(808,124,136))
sunburst(df, count = TRUE, width = "100%",
height = 400)

@hammerPC
Copy link

hammerPC commented May 3, 2023 via email

@michaelcurry1123
Copy link
Author

Following up on this is there a work around to show the non-rounded number?

@MaarjaPajusalu
Copy link

Also searching a solution for this one.

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

3 participants