title: How to hide the series when clicking a legend in googlevis line chart that is embedded in shiny
body: <p>I have a shiny app with embedded google line charts using the googlevis package. I need to be able to hide a line when clicking on it's legend key. I found this code on how to do it in google charts:</p>
  
  <pre><code>$http://jsfiddle.net/xDUPF/4/light/$
  </code></pre>
  
  <p>How can I introduce this behavior to a graph created using shiny? can I use the "jscode" parameter for it?</p>