Hi,

I copied from the google playground (this code is running well in the 
google playground) , this code into my drive.

https://code.google.com/apis/ajax/playground/?type=visualization#image_candlestick_chart

function drawChart() {
        var data = google.visualization.arrayToDataTable([
          ['Label', 'Value'],
          ['Memory', 80],
          ['CPU', 55],
          ['Network', 68]
        ]);

        var options = {
          width: 400, height: 120,
          redFrom: 90, redTo: 100,
          yellowFrom:75, yellowTo: 90,
          minorTicks: 5
        };

        var chart = new 
google.visualization.Gauge(document.getElementById('chart_div'));
        chart.draw(data, options);
      }


When start the code i receive this message:


TypeError: Funktion arrayToDataTable in Objekt [object Object] nicht 
gefunden (Zeile 4, Datei "Code"


the code is in that line:

        var data = google.visualization.arrayToDataTable([
          ['Label', 'Value'],
          ['Memory', 80],
          ['CPU', 55],
          ['Network', 68]
        ]);

What i did wrong?  Object not found? 


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to