Skip to content

Instantly share code, notes, and snippets.

@vgrem
Created November 6, 2012 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vgrem/4026288 to your computer and use it in GitHub Desktop.
Save vgrem/4026288 to your computer and use it in GitHub Desktop.
Google Chart Tools - loading and initializing packages
function visualizeOrgChart(orgChartProperties) {
google.load('visualization', '1', { packages: ['orgchart'] });
google.OrgChartData = orgChartProperties;
google.setOnLoadCallback(loadOrgChart);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment