each visualization describes its own options.
for instance, the OrgChart visualization documents its options here
(http://code.google.com/apis/visualization/documentation/gallery/
orgchart.html#Configuration_Options) and has an example here (http://
code.google.com/apis/visualization/documentation/gallery/
orgchart.html#Example).
The example doesn't show how to set the options, so here's the same
example with options set in JSON:
var data = new google.visualization.DataTable();
data.addColumn('string', 'Name');
data.addColumn('string', 'Manager');
data.addRows(5);
data.setCell(0, 0, 'Mike');
data.setCell(1, 0, 'Jim');
data.setCell(1, 1, 'Mike');
data.setCell(2, 0, 'Alice');
data.setCell(2, 1, 'Mike');
data.setCell(3, 0, 'Bob');
data.setCell(3, 1, 'Jim');
data.setCell(4, 0, 'Carol');
data.setCell(4, 1, 'Bob');
var table = new
google.visualization.OrgChart(document.getElementById('chart_div'));
table.draw(data, {
allowHtml: true,
size: 'small'
});
On Sep 24, 11:28 am, "Joe [at] subprint.com" <[EMAIL PROTECTED]>
wrote:
> Okay I simply cannot find this:
>
> Method: draw(data,options)
>
> Where the "options" are actually listed. Someone please link me to
> where I can find this options hash. Can't find it anywhere!
>
> Thanks.
>
> Joe
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---