Simple Query and Annotated Timeline....

50 views
Skip to first unread message

far m

unread,
May 31, 2012, 8:16:28 PM5/31/12
to google-visua...@googlegroups.com
I am guessing this is very simple, but it not working for me.... 
I have a simple file. I performed Query and I am trying to plot it using Annotated Timeline. Here is the code: http://jsfiddle.net/essonoma/uKKMV/#base
A few issues: 
1- Why am I not getting anything? There is no results! 
2- Can I add leggend? How do I make it display the legend? (first ROW) 
3- If I add more data, I am guessing the chart will be updated automatically, right? 

asgallant

unread,
Jun 1, 2012, 9:35:07 AM6/1/12
to google-visua...@googlegroups.com
You don't have any code for an AnnotatedTimeline chart there.

I switched the second chart to an ATL chart for you: http://jsfiddle.net/asgallant/uKKMV/1/.  Note that you have to set the ATL's container div's height and width in CSS or in the style attribute, otherwise the ATL will fail to draw.

The legend is displayed by default in ATL charts.  Adding more data will not automatically update the charts, you will have to call the dashboards #draw method again to update the charts.
Reply all
Reply to author
Forward
0 new messages