Here's a better example: http://jsfiddle.net/asgallant/n9jMG/. This one uses a Dashboard and ChartRangeFilter to properly emulate the ATL charts.
On Monday, January 14, 2013 6:17:39 PM UTC-5, asgallant wrote: > > You can do that too. Here's an example (with a few bells and whistles > built in): http://jsfiddle.net/asgallant/GUREK/. Note that I used jQuery > in the example to do document manipulation and event binding; you can use > other js libraries or plain js to accomplish the same thing if you don't > use jQuery. > > On Monday, January 14, 2013 5:24:56 AM UTC-5, laurent coudurier wrote: >> >> Hi, >> >> this is not what I want to do, but it's very interesting and can be >> useful in the future. >> thanks for your answer. >> >> what I want to do is having a list of all annotations, and the ability to >> click on them to auto scroll to the concerned part of the graph. >> just like in the "annotated timeline" >> >> so you'll ask me : why not using annotated timelime ? >> well, I think that a LineChart controlled by a ChartRange is far more >> elegant. ;-) >> >> the annotated timeline have a strange aspect, very different than the >> others charts (I think). >> >> Le vendredi 11 janvier 2013 21:18:43 UTC+1, asgallant a écrit : >>> >>> You can hack something together to make this happen. Use the >>> "onmouseover" and "onmouseout" events to detect hovering over the >>> annotations, and pull the data from your DataTable into an HTML element. >>> Here's a (very rough looking) example: >>> http://jsfiddle.net/asgallant/qgUCC/ >>> >>> On Friday, January 11, 2013 12:41:16 PM UTC-5, laurent coudurier wrote: >>>> >>>> Hi, >>>> >>>> I'm using a LineChart (controled by ChartRange), having a annotation >>>> role column (to display where the user can find the maximum of the values). >>>> Is it possible to display the annotations in a "legend like" box, just >>>> like in the annotated timeline ? >>>> >>>> Thanks >>>> >>> -- 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/-/UjbxkSmChXIJ. 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.
