title: Google Visualization API, making a line graph
body: <p>I am trying to make a <a href="http://code.google.com/apis/visualization/documentation/gallery/linechart.html" rel="nofollow noreferrer">line</a> chart by using the Google Visualization API, here is my column data definition:</p>
  
  <pre><code>var dataTable = new google.visualization.DataTable();
  
  dataTable.addColumn('date', 'Date');
  dataTable.addColumn('number', 'Uptime');
  dataTable.addColumn('string', 'Channel');
  </code></pre>
  
  <p>I want to group my rows by channels and these grouped channels make a line where X axis is the date and the Y axis is the uptime. I am pretty lost at the API and would be greatful of any help.</p>
  
  <p>Thanks</p>