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

qqpie often has too small canvas size - increasing it could be an intrinsic feature #11

Closed
vertesy opened this issue Sep 21, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@vertesy
Copy link
Owner

vertesy commented Sep 21, 2021

df <- data.frame(
  group = c("Male", "Female", "Children but not teenager"),
  value = c(25, 25, 50))

ggpie(df, "value", label = "group")

Fixing margin does not help

ggobj +
    theme(plot.margin = unit(c(1,1,1,1), "cm"))
@vertesy vertesy added the enhancement New feature or request label Sep 21, 2021
@vertesy vertesy changed the title qqpie often has too little margins - increased margins could be an intrinsic feature qqpie often has too little canvas size - increasing it could be an intrinsic feature Sep 21, 2021
@vertesy
Copy link
Owner Author

vertesy commented Sep 21, 2021

Asked author here

@vertesy vertesy changed the title qqpie often has too little canvas size - increasing it could be an intrinsic feature qqpie often has too small canvas size - increasing it could be an intrinsic feature Sep 21, 2021
@vertesy
Copy link
Owner Author

vertesy commented Dec 14, 2021

Can be solved by + coord_polar(theta = "y", clip = "off") as explained in this SO post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant