title: Overlaying scatter area in plot_ly
body: <p>I'd like to do plotly chart and plot filled area shape and bars on one plot. However area shape overlaying bars. I couldn't change order of elements. Is it possible to bring bars in fron?</p>
  <p><a href="https://i.stack.imgur.com/0yoxt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0yoxt.png" alt="enter image description here" /></a></p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>data &lt;- data.frame(years = c(2005,2006,2007), values1 = c(1,2,3), values2 = c(3,3,2))
  
  plot_ly(data, x = data$years, y=data$values1, type = 'bar') %&gt;% 
    add_trace(x=data$years, y=data$values2, type = 'scatter', mode = 'lines', fill = 'tozeroy')</code></pre>
  </div>
  </div>
  </p>