O'Reilly logo

Google Visualization API Essentials by Traci L. Ruthkoski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dashboards

Dashboards are the backdrops on which all controls and charts are bundled together. Since they act as the unifying component of the visualization and controls, dashboards can also be intentionally linked to create dependencies between controls. Controls may also be used to set a visualization to a predefined state, or act as a trigger point for ChartWrapper events.

In general, a visualization with dashboard, controls, and events will always follow a pattern similar to the following outline:

<html> <head> <script> function visualization{ // Listen for an error event to happen google.visualization.events.addListener(chart/dashboard, 'error/ready/select',run_on_error); // Load the Wrapper libraries google.load // Data creation, linking methods ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required