title: Plotly Facet_Wrap Bar Graph Not Working
body: <p>I have a dataset as follows: </p>
  
  <pre><code>DATE &lt;- as.Date(c('2016-11-15','2016-11-15','2016-11-15', '2016-11-15', '2016-11-16', '2016-11-16', '2016-11-16', '2016-11-16'))
  TYPE1 &lt;- c('A','A','A', 'A','A','A','A','A')
  TYPE2 &lt;- c('uno','uno','dos', 'dos','uno','uno','dos','dos')
  TYPE3 &lt;- c('bueno', 'mal','bueno','mal','bueno','mal','bueno','mal')
  Revenue &lt;- c(97310.77, 51481.13, 1842.42, 2157.38, 55735.40, 56917.75, 1862.75, 551.23)
  df &lt;- data.frame(DATE, TYPE1, TYPE2, TYPE3, Revenue)
  
  df
  
          DATE TYPE1 TYPE2 TYPE3  Revenue
  1 2016-11-15     A   uno bueno 97310.77
  2 2016-11-15     A   uno   mal 51481.13
  3 2016-11-15     A   dos bueno  1842.42
  4 2016-11-15     A   dos   mal  2157.38
  5 2016-11-16     A   uno bueno 55735.40
  6 2016-11-16     A   uno   mal 56917.75
  7 2016-11-16     A   dos bueno  1862.75
  8 2016-11-16     A   dos   mal   551.23
  </code></pre>
  
  <p>My goal here is to create a facet_wrap ggplot that is interactive using plotly:
  <a href="https://plot.ly/ggplot2/getting-started/" rel="nofollow noreferrer">https://plot.ly/ggplot2/getting-started/</a> </p>
  
  <pre><code>library(scales)
  graph&lt;-ggplot(df, aes(x=DATE, y= Revenue, fill = DATE)) + geom_bar(stat = "identity") +labs(x = "Date", y= "Revenue") + scale_x_date(labels = date_format("%m-%d"))+facet_wrap(~`TYPE2`+`TYPE3`)
  
  ggplotly(graph)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/faV5k.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/faV5k.jpg" alt="enter image description here"></a></p>
  
  <p>The quality is really not that great because I want to be able to hover over it which is not working and when I autoscale, the numbers get removed from the side. </p>
  
  <p>Goals to achieve from this post: </p>
  
  <p>1) When hovering over the each bar, display value details</p>
  
  <p>2) Change format of numbers to be $ amounts</p>
  
  <p>3) Remove legend on the side where it shows date, I colored in the bars by date but I don't need the legend. </p>
  
  <p>4) When autoscaling, keep numbers on the side.</p>
  
  <p>I know this is a lot but if anyone is able to answer either of these questions (preferably the 1st goal) that would be a huge help. Thanks!</p>