Everything you need should be explained in the query
documentation<https://developers.google.com/chart/interactive/docs/queries>.
You may also find this example in the code
playground<https://code.google.com/apis/ajax/playground/?type=visualization#data_source_request>
useful.
Good luck!

- Sergey


On Thu, Feb 28, 2013 at 6:19 PM, Dave Lalande <[email protected]> wrote:

> There a are lots of examples online of combo charts online using a static
> array defined within the script but I can't find and example of how to
> build the array via google sheet as the source.
>
> This example found 
> here<https://code.google.com/apis/ajax/playground/?type=visualization#combo_chart>
> .
> function drawVisualization() {
>   // Create and populate the data table.
>   var data = google.visualization.arrayToDataTable([
>     ['Month', 'Bolivia', 'Ecuador', 'Madagascar', 'Papua New Guinea',
> 'Rwanda', 'Average'],
>     ['2004/05',  165,      938,         522,             998,
> 450,      614.6],
>     ['2005/06',  135,      1120,        599,             1268,
> 288,      682],
>     ['2006/07',  157,      1167,        587,             807,
> 397,      623],
>     ['2007/08',  139,      1110,        615,             968,
> 215,      609.4],
>     ['2008/09',  136,      691,         629,             1026,
> 366,      569.6]
>   ]);
>
> What's the syntax for building an array like this via google sheet.
>
> My data is actually simpler.  I want to create an array using A2:C14 in this
> sheet<https://docs.google.com/spreadsheet/ccc?key=0AhCv9Xu_eRnSdDhkMXExeVNuYk42RVVfUnpkRUVfUXc&usp=sharing>
> .
>
> Thanks,
>
> Dave
>
> --
> 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.
>
>
>

-- 
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