title: Adding labels to ggplot bar chart
body: <p>I would like to do a bar plot outlined in black with percentages inside the bars.  Is this possible from qplot? I get the percentages to appear but they don't align with the particular bars.</p>
  
  <p>packages: ggplot2, reshape</p>
  
  <p><img src="https://i.stack.imgur.com/zHqSZ.png" alt="created in Illustrator"></p>
  
  <pre><code>x &lt;- data.frame(filename = c("file1", "file2", "file3", "file4"),
                      low = c(-.05,.06,.07,-.14),
                      hi = c(.87,.98,.56,.79))
  x$tot &lt;- x$hi + x$low
  
  x &lt;- melt(x, id = 'filename')
  
  bar &lt;- qplot(x = factor(filename), 
               y = value*100,
               fill = factor(variable),
               data = x,
               geom = 'bar',
               position = 'dodge') + coord_flip()
  bar &lt;- bar + scale_fill_manual(name = '',
                                 labels = c('low',
                                            'Hi',
                                            "Tot"),
                                 values = c('#40E0D0',
                                            '#FF6347',
                                            "#C7C7C7")) 
  bar &lt;- bar + geom_text(aes(label = value*100))+geom_bar(colour = 'black')
  bar &lt;- bar + opts(panel.background = theme_rect(colour = NA))
  bar &lt;- bar + opts(legend.justification = 'bottom')
  print(bar)
  </code></pre>