I would like this feature also, being able to add line breaks in the 
tooltips.
Even better would be html support for tooltips, like in some charts. I hope 
it will be available soon for geocharts also.

Quinta-feira, 26 de Julho de 2012 0:24:54 UTC+2, Raini Robinson escreveu:
>
> I've added a string column to a DataTable being used in a geochart and 
> given it the role of tooltip. The map (in this case the USA) displays 
> correctly but the tooltip seems to be ignoring new line characters.
>
> The string:
> $tooltip = 'Population: '.$populationValue.'\n'.'Visitors: 
> '.$visitorValue'.'\n'.'Penetration: '.($populationValue/$visitorValue).'%';
>
> Becomes:
> Population: 50,000Visitors: 1,000Penetration: 2%
>
> Does the geochart package not accept newlines characters (\n) in the same 
> way that the corechart packages do?
>
> Thank you for your time.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-chart-api/-/S_NPnfDO1wgJ.
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-chart-api?hl=en.

Reply via email to