I want to make a graph showing in histogram a quantity and in lines the cumulative quantity, per date. I manage to do it like this :
ggplot(data=data,aes(x=date,group=group)) +
geom_histogram(aes(y=nb,fill=group),stat="identity",position="dodge")+
geom_line(aes(y=cum.nb,colour=group))
Problem is : I want a different scale for the cumulated data than for the quantity, otherwise my bar are too small to be of interest.