I now have
<script type="text/javascript">    
    google.setOnLoadCallback(drawSeriesChart);

    function drawSeriesChart() {
      
      var query = new 
google.visualization.Query('https://docs.google.com/spreadsheets/d/1Q_f86rmnDJ3Ei-yNSLmIDeNwgTJXRHMceNlZQGn2TU0/edit#gid=890579914',
 
'SELECT A:E');
      /*query.setQuery('Name, X Coordinate, Y Coordinate, Alliance Name, 
Importance');*/
      query.send(handleSampleDataQueryResponse);
    };
      
        function handleSampleDataQueryResponse(response) {
      if (response.isError()) {
        alert('Error in query: ' + response.getMessage() + ' ' + 
response.getDetailedMessage());
        return;
      }

    
    function handleQueryResponse() {  
      var data = response.getDataTable();
      
      /*var data = google.visualization.arrayToDataTable([
        ['name', 'X', 'Y', 'Alliance', 'Importance'],
        ['ninja', 100, 100, 'FreeK', 10]
      ]); */

      var options = {
        title: 'GGE test Map',
        hAxis: {title: 'X Axis', minValue: 0, maxValue: 1000},
        vAxis: {title: 'Y Axis', direction: -1, minValue: 0, maxValue: 
1000},
        bubble: {textStyle: {fontSize: 11}}
      };

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

There are no errors showing in the console, yet it does not display the 
chart. Is there something else I'm missing?

-- 
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/9bb97a70-39a8-4f6f-acbc-53e153b3449d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to