You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to arise from the r_rescale function which has the donut = c(0, 0.4) hardcoded. This can be fixed by overriding the function as shown below:
I don't think this will be implemented for coord_polar() as it has been superseded by coord_radial().
The reason there is extra space around the edge of the circular area is because it is a place reserved for axis labels.
For that reason, I wouldn't like (the option) to get rid of this space.
If you insist on ignoring the axis label space, you can override the relevant parameter in the coord like so:
# Add this to plot with `+`
ggproto(
NULL, coord_radial("y", start=0, expand=FALSE),
inner_radius= c(0, 0.5)
)
We are facing issues to fill the blank space in pie charts using ggplot2_3.5.1 (issue in other versions too).
The following code:
Gives the following graph:
The issue seems to arise from the r_rescale function which has the
donut = c(0, 0.4)
hardcoded. This can be fixed by overriding the function as shown below:However, this is a hacky way to solve this issue. It seems that the same issue was reported in a stackoverflow issue as well.
The question I have is if it would be possible to parametrize this parameter or this function?
Thanks a lot!
The text was updated successfully, but these errors were encountered: