Sorry, but really stuck here and have read the doco.

Using GGE created new data source example all worked fine. But I do not want 
to have the data source URL set up as a user preference so I have commented 
old code and hardcoded url :

function sendQuery() {
//  var prefs = new _IG_Prefs(); // User preferences 
//  gadgetHelper = new google.visualization.GadgetHelper(); 
//  var query = gadgetHelper.createQueryFromPrefs(prefs);

  var query = new 
google.visualization.Query('https://spreadsheets.google.com/tq?authkey=CJmo4M4H&range=B2:C20&key=0Apv6BLgYgRLRdHo2TmozTV9IcG9vUGlMaXhMUk1mV0E&gid=2');
  
  // Send the query with a callback function.
  query.send(handleQueryResponse);
} 


When I add it to an iGoogle page or preview in the editor all I see is a 
spinning gif, if I use the url directly in the browser data is displayed ok. 
Spreadsheet is set global.

I must be missing something really fundamental point me to further 
documentation if you think I need that. Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization 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-visualization-api?hl=en.

Reply via email to