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