Here is the script with data
<script type="text/javascript">
      google.load("visualization", "1", {packages:["corechart"]});
      google.setOnLoadCallback(drawChart);
      function drawChart() {
        var data = new google.visualization.DataTable();
        data.addColumn('date', 'Date');
        data.addColumn('number', 'Holding');
        data.addRows([
[new Date(2010, 10, 06),741000],[new Date(2010, 12, 01),841000],[new
Date(2011, 09, 01),0],[new Date(2011, 10, 20),1067030],[new Date(2011,
12, 07),1069030],
        ]);


        var options = {
          strictFirstColumnType: true,
          width: 600, height: 440,
          title: 'Share holding history',
          vAxis: {title: 'Shares',  titleTextStyle: {color: 'red'}},
          hAxis: {slantedText:'true',slantedTextAngle:45}
        };

        var chart = new
google.visualization.AreaChart(document.getElementById('chart_div'));
        chart.draw(data, options);
      }
    </script>

However, it renders with each of those dates being incremented by 1
month (so I actually have a date for 7 Jan 2012 for the last data
point)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en.

Reply via email to