OK thanks.
I crudely got around the text measurement problem by adding to the column
names in the javascript.
When I was previously adding columns my code was as follows:
data.addColumn('number', 'No. of Sessions');
Instead I added some javascript non-whitespace characters (\u00a0) and a new
line character (\n) as follows:
data.addColumn('number', 'No. of Sessions' +
'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\n');
The result can be seen in the attachment.
It's not perfect, but it's better than the text spilling out of the tooltip.
Cheers
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
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.
<<attachment: image.png>>
