I'm trying to plot with ggplot my data frame by using the code bellow
p1 <- ggplot(dates2, aes(x=periode_ap, y=pourcentage_parc, fill=apport))+
geom_col(position = position_stack(reverse = TRUE))+
ylim(0,100)+
scale_fill_manual(values=mycolors, name="")+
theme_light()
i get this graphic
but what i want is this one ::
how can i change my code to get the right graphic please !!! or i must use another package not ggplot to do that !!