hello,

I'm having a slight problem with loading the visualization from the 
google.load.

This is for a chart drawing

> google.load("visualization", "1", {packages:["corechart"]});
> google.setOnLoadCallback(drawChart);
> function drawChart(){
>   var data = google.visualization.arrayToDataTable(window.gGraphData);
>   var options = {
>       title  : 'Social Network Reporting',
>       width  : 600, 
>       hegiht : 400
>   };
>   var chart = new 
> google.visualization.AreaChart(document.getElementById('stats_graph'));
>   chart.draw(data, options);
> }


Now for some reason the callback is being called so i would think 
visualization should be working by then but it's when it hist the 
arrayToDataTable line i get
Uncaught TypeError: Cannot call method 'arrayToDataTable' of undefined 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to