title: Dygraph multiple plots - turn them on and off with R and dySeries options
body: <p>Good afternoon everyone,
  I am discovering <a href="http://rstudio.github.io/dygraphs/" rel="nofollow">dyGraph for R</a> and it is an amazing tool.
  I need to plot only two variables ("Lifetime.Engaged.Users" &amp; "Lifetime.Post.Total.Reach") of my 32 variables xts matrix.</p>
  
  <p><strong><em>My problem</em></strong> is as follow, even if I specify the two series I want to be plotted (with <em>dySeries</em>), dyGraph plots all the 32 variables, making the graph totally unreadable.
  Here is the code.</p>
  
  <pre><code># Read the insights from xls export 
  facebook.insight &lt;- read.xlsx(
      "Facebook Insights (Post Level)", 
      sheetIndex = 1)
  # Convert the facebook insights to a Time Series with library(xts)
  facebook.insight.TimeSerie  &lt;- xts(
             facebook.insight[,-7], 
             order.by = facebook.insight$Posted
      )
  # Plot the desired series that are ("Lifetime.Engaged.Users" &amp; 
  #"Lifetime.Post.Total.Reach") with dyGraph package 
  
  dygraph(facebook.insight.TimeSerie, main ="Facebook Insights") %&gt;%
      dySeries(name = "Lifetime.Engaged.Users", label = "Engaged Users") %&gt;%
      dySeries(name = "Lifetime.Post.Total.Reach", label = "Post Total Reach")
  </code></pre>
  
  <p><strong>In conclusion, what shall I do to plot only the two desired series</strong> (<em>"Lifetime.Engaged.Users" &amp; "Lifetime.Post.Total.Reach"</em>), without having to create 33 xts dataframes ?</p>