Double x axis labels when sort = FALSE and horizontal = FALSE
Closed this issue · 0 comments
thomas-neitmann commented
When calling bar_chart()
with sort = FALSE
and horizontal = FALSE
each x axis label appears twice in the plot:
library(dplyr)
library(ggcharts)
data(biomedicalrevenue)
biomedicalrevenue %>%
filter(company %in% c("Roche", "Novartis")) %>%
bar_chart(year, revenue, facet = company, sort = FALSE, horizontal = FALSE)
When horizontal = TRUE
this does not occur:
biomedicalrevenue %>%
filter(company %in% c("Roche", "Novartis")) %>%
bar_chart(year, revenue, facet = company, sort = FALSE, horizontal = FALSE)