title: Dynamically generate Google Chart type from Dropdown list
body: <p>I'm using Google Charts on my web application and would like to change the chart displayed using a dropdown list.</p>
  
  <p>The dropdown list stores the chart type in code behind and I'm trying to insert the VB.net variable in the var chart variable.</p>
  
  <p>var chart = new google.visualization.<strong>datachart</strong>(document.getElementById('chart_div')); 
  chart.draw(data, options);</p>
  
  <p>The value in bold defines which chart gets displayed (ColumnChart, LineChart etc)</p>
  
  <p>How's best to accomplish this?</p>