title: Barchart with ggplot 2 y axis labels
body: <p>I have a little problem with a ggplot barchart.</p>
  
  <p>I wanted to make a barchart with ggplot2 in order to compare my Svolumes for my 4 stocks on a period of few months.</p>
  
  <p>I have two problems:</p>
  
  <p>The first one is that my y axis is wrong. My graph/data seems correct but the y axis don't "follow" as I thought it will contain another scale... I would to have to "total" number of my dataset svolumes, I think here it is writing my svolumes values. I don't know how to explain but I would like the scale corresponding to all of my data on the graph like 10,20,etc until my highest sum of svolumes.</p>
  
  <p>There is my code:</p>
  
  <pre><code>Date=c(rep(data$date))
  Subject=c(rep(data$subject))
  Svolume=c(data$svolume)
  Data=data.frame(Date,Subject,Svolume)
  
  Data=ddply(Data, .(Date),transform,pos=cumsum(as.numeric(Svolume))-(0.5*(as.numeric(Svolume))))
  
  ggplot(Data, aes(x=Date, y=Svolume))+
    geom_bar(aes(fill=Subject),stat="identity")+
    geom_text(aes(label=Svolume,y=pos),size=3)
  </code></pre>
  
  <p>and there is my plot:</p>
  
  <p><img src="https://i.stack.imgur.com/Ho10N.png" alt="my pbarchart"></p>
  
  <p>I helped with the question <a href="https://stackoverflow.com/questions/6644997/showing-data-values-on-stacked-bar-chart-in-ggplot2">here</a></p>
  
  <p>Finally, How could I make the same plot for each months please? I don't know how to get the values per month in order to have a more readable barchart as we can't read anything here...</p>
  
  <p>If you have other ideas for me I would be very glad to take any ideas and advices! Maybe the same with a line chart would be more readable...? Or maybe the same barchart for each stocks ? (I don't know how to get the values per stock either...)</p>
  
  <p>I just found how to do it with lines.... but once again my y axis is wrong, and it's not very readable....</p>
  
  <p><img src="https://i.stack.imgur.com/yuxU9.png" alt="linechart"></p>
  
  <p>Thanks for your help !! :)</p>