GoogleVisualr - Annotated Time Line


Overview

An interactive time series line chart with optional annotations. The chart is rendered within the browser using Flash.

Please refer to Google's documentation for details on Data Format and Configuration Options. However, Methods and Events are not implemented.

Important: Please specify the height and width of the div element explicitly in the view.


Example


Code

In your controller, create the data_table object, set new columns, add row values, then instantiate the chart with configuration options.

In your view, use the to_js method to generate JavasScript, during rendering of the view.