The layout of the tooltip is:

"Column 0 value"
"Data Column Name": "Data Column Value"

You can set the formatted value of a cell to override what the API would 
normally place there.  Ex:

data.setFormattedValue(0, 0 , 'Limousin');

would change 'FR-L' to 'Limousin' in the tooltip.  You can use 
DataTable#addRow() instead of setValue() as a shortcut:

data.addRow([{v: 'FR-L', f: 'Limousin'}, 200]);

which populates the entire row.  Pass it an array with values for each 
column in the row, where each value is either the data type appropriate for 
that column (string, number, etc) or an object {v: value, f: 'string 
formatted value'}.

-- 
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/-/KeWy8lLnjF8J.
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.

Reply via email to