title: timeline charts not working in Google Apps Script
body: <p>I'm trying to draw some charts with Google Visualization API in Apps Script.
  All charts work fine (PieChart, ComboChart...) but timeline.</p>
  
  <p>If I copy/paste my code in a HTML file works fine however in an Apps Script project throw this error when a call the builder (new google.visualization.Timeline(container): "undefined is not a function".</p>
  
  <p>Here my code:</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://www.google.com/jsapi"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      google.load('visualization', '1', {packages: ['corechart','timeline']});
  
      function pintarGraficaTimeline(){
       var chart = new google.visualization.Timeline(document.getElementById('divGrafica')); 
        var dataTable = new google.visualization.DataTable();
  
    dataTable.addColumn({ type: 'string', id: 'President' });
    dataTable.addColumn({ type: 'date', id: 'Start' });
    dataTable.addColumn({ type: 'date', id: 'End' });
  
    dataTable.addRows([
      [ 'Washington', new Date(1789, 3, 29), new Date(1797, 2, 3) ],
      [ 'Adams',      new Date(1797, 2, 3),  new Date(1801, 2, 3) ],
      [ 'Jefferson',  new Date(1801, 2, 3),  new Date(1809, 2, 3) ]]);
  
    chart.draw(dataTable);
   } 
  &lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body style="font-family: Arial;border: 0 none;"&gt;
    &lt;div id="divGraficaTimeline" style="float:right;display:block;"&gt;
     &lt;div  style="float: right;"&gt; &lt;input type="button" value="Buscar" style="float:    right;margin-right: 4%;" onclick="pintarGraficaTimeline()" /&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div id="divGrafica" &gt; &lt;/div&gt;
  </code></pre>
  
  <p>Doesn't Timeline package work in Apps Scripts??</p>