Seems I accidentally posted this to the charts section last time rather 
than visualization, lets try again:

I have added a string column to a geochart with the tooltip role, the map 
(in this case the usa) works correctly but the tooltip does not show new 
lines properly.

The string:
$tooltip = 'Population: '.$popval.'\n'.'Visitors: 
'.$visitVal.'\n'.'Percentage: '.($visitVal/$popval).'%';

Becomes:
Population: 50,000Visitors: 1,000Percentage: 2%

When it should be:
Population: 50,000
Visitors: 1,000
Percentage: 2%

Does the geochart package not treat the newline character (\n) the same way 
that the corechart package does?

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