ggchicklet icon indicating copy to clipboard operation
ggchicklet copied to clipboard

geom_rrect does not work with factors

Open pteridin opened this issue 3 years ago • 0 comments

geom_rrect seems to get wrong informations about the heights/widths of the rounded rectangles when used on factors. Thus no rounded rectangle is shown, but some triangle like shape.

Minimal working example:

tibble(Field = c("A","B","C")) %>%  
   ggplot() + 
   ggchicklet:::geom_rrect(aes(fill = Field, ymin = Field, ymax=Field), xmin=0, xmax=1)

pteridin avatar Sep 09 '21 09:09 pteridin