The examples posted have the structure for the annotations (view the source
and look at the chart drawing functions). Basically, add 2 extra DataTable
columns after each data column that you want to annotate, passing an object
in the new format {type: 'data type', role: 'column role'} with type
'string' and roles 'annotation' and 'annotationText'. The 'annotation'
column contains the labels that appear on the chart while the
'annotationText' column contains the annotations' tooltip text. I pulled
the annotation example from those posted by the chart team and put them on
jsfiddle to make it easy to see them in action along side the code:
http://jsfiddle.net/9P8XF/1/
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/6jhJS-frOrAJ.
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.