Set up a third column in the DataTable, type "string" and role "tooltip",
then add a third column of data, which you probably want to be all null,
something like this:
var data = new google.visualization.DataTable();
data.addColumn('string', 'Foo');
data.addColumn('number', '');
data.addColumn({type: 'string', role: 'tooltip'});
data.addRows([
['Germany', 200, ''],
['United States', 300, ''],
['Brazil', 400, ''],
['Canada', 500, ''],
['France', 600, ''],
['RU', 700, '']
]);
On Thursday, July 26, 2012 5:41:35 PM UTC-4, Dan Poynor wrote:
>
> Thanks for the info.
>
> Is there info on how to add a column role to the GeoChart?
>
> The DataTable Roles page says "each chart's documentation will describe
> which roles are available" and no roles are listed on the Geo Charts page.
>
On Thursday, July 26, 2012 5:41:35 PM UTC-4, Dan Poynor wrote:
>
> Thanks for the info.
>
> Is there info on how to add a column role to the GeoChart?
>
> The DataTable Roles page says "each chart's documentation will describe
> which roles are available" and no roles are listed on the Geo Charts page.
>
On Thursday, July 26, 2012 5:41:35 PM UTC-4, Dan Poynor wrote:
>
> Thanks for the info.
>
> Is there info on how to add a column role to the GeoChart?
>
> The DataTable Roles page says "each chart's documentation will describe
> which roles are available" and no roles are listed on the Geo Charts page.
>
On Thursday, July 26, 2012 5:41:35 PM UTC-4, Dan Poynor wrote:
>
> Thanks for the info.
>
> Is there info on how to add a column role to the GeoChart?
>
> The DataTable Roles page says "each chart's documentation will describe
> which roles are available" and no roles are listed on the Geo Charts page.
>
--
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/-/XO52ZQ7yVo4J.
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.