0

I'm trying to create a geom_bar with:

ma.at.vs.t.duh + geom_bar(stat="bin", fill="white", colour="black", width=.2) +
ggtitle("Mandant 10 und 50") + 
theme(plot.title = element_text(lineheight=.6, face="bold")) + 
xlab("Vertragsart") + 
ylab("Anzahl und %") +
theme(axis.title.x = element_text(vjust=0.5, size=14), axis.text.x=element_text(size=8)) +
stat_bin(aes(label=..count..), geom="text", size=4, vjust=-0.5) +
stat_bin(aes(label = paste(sprintf("%.02f %%", ..count../sum(..count..)*100))), geom="text", size=3, vjust=-2.0)

How can I set y-Axis starting at 0 (zero). I don't need the "US-space" ;-) Thank you very much.

jabaldonedo
  • 25,822
  • 8
  • 77
  • 77
SebastianS
  • 477
  • 7
  • 14

0 Answers0