<populate data1>
This would be where you populate the data table, using:
data1.addColumn('columnType','columnName');
data1.addColumn('columnType','columnName');
data1.addRows([["Test",1], ["Test2",2]]);
This will add the data. To add the data for the second table, simply
replace 'data1.' for 'data2.'
For options, this would be where you set your options specific to your type
of table.
For example:
var options1 = {
title: "Density of Precious Metals, in g/cm^3",
width: 600,
height: 400,
bar: {groupWidth: "95%"},
legend: { position: "none" },
};
And again, the same applies with this, replace 'options1' with 'options2'
On Monday, June 1, 2015 at 12:13:59 AM UTC+1, PavolK wrote:
>
> Can anyone please use specific examples of the lines below for complete
> beginners like me? Thanks a lot!
> <populate data1>
> <populate data2>
>
> and
>
> var options1 = {<options>};
> var options2 = {<options>};
>
>
--
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/d/optout.