You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Visualization API
I am trying to customize the annotations on my annotated timeline
chart. Right now I have annotations for four points on my graph. For
one of the points I would like to be able to display a few sentences
and then have one or two newlines and then a few more sentences. Is
this possible? No matter how many newline characters I add the two
strings are always one space apart.
ex. line of code:
dataTable.setValue(rowNum, 4, " Some text" + "\r\nSome more text");
the desired output on the side of my chart would be:
A: Some text
Some more text
Craig
unread,
Aug 9, 2012, 11:40:24 AM8/9/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-visua...@googlegroups.com
Update: Found the solution on a post way back. If you use the allowHtml option you can add Html characters so by adding <br\> to my string I was able to format the annotations the way that I wanted to : )