Hello,

I'm new to the chart API and for the life of me I can't figure out how to 
make my charts by pulling data from my spreadsheets. I'm missing something.
The documentation 
<https://developers.google.com/chart/interactive/docs/spreadsheets>is very 
scarce, probably oriented for experienced developers.
I figured out how to generate charts with something like that

function drawRegionsMap() {
var data = google.visualization.arrayToDataTable([
['County', 'Cases'],
['Carlow', 0],
['Cavan', 67],
['Clare', 54],
...
]);

But no I need to pull the same data from a dynamically updated spreadsheet. 
The spreadsheets updates a few times per day, so I need to make my charts 
update along as well.

Could someone give me a small tutorial or a working example of it? 
preferably with a geo chart and an area one. The rest I hope I will able to 
figure out myself. 

I particularly struggle with
a) figuring out how to generate a proper spreadsheet link(to a particular 
sheet in it and a particular range). The gives GID example, but I could 
make it work. 
b) and how to wrap it all in a full function for it.

Thanks


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/f425cb09-70b5-46ee-b321-39fc83baa732%40googlegroups.com.

Reply via email to