Cool. Actually I've read this page but somehow missed this last example. Bad of me. Thanks a lot to you guys. Google Chart just make life easier.
On Friday, April 26, 2013 11:20:13 PM UTC+8, Tom Rybka wrote: > > Hi Yu, > > You should be able to add roles to a JSON dataTable object. > > Take a look at this: > https://developers.google.com/chart/interactive/docs/roles#jsonliteral > > Here's an example that uses annotation and annotationText in a LineChart: > http://jsfiddle.net/TJvLc/1/ > > Let us know if you have any more questions. > -Tom > > On Wednesday, April 24, 2013 12:25:23 AM UTC-4, Yu Wang wrote: >> >> Hi Forum, >> I have a LineChart created from JSON object. So I don't have any >> addcolumn/addrow function calls. I'm not sure whether there is a way to add >> roles(annotation/annotationtext) to this JSON object? Or I have to rewrite >> DataTable with addColumn/addRow function to get annotation? I'm not using >> annotatedtimeline and simply linechart. >> >> Thanks, >> Yu Wang >> > -- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-chart-api?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
