AnnotatedTimeLine only sends the 'select' event when a user click on an
annotation and not on data points (as written in the documentation:
http://code.google.com/apis/chart/interactive/docs/gallery/annotatedtimeline.html#Events
)

Hope this helps,
  Viz Kid

On Sun, Jul 31, 2011 at 10:50 PM, Mike Krasnow <[email protected]> wrote:

> Im new to the Google Charts API,
>
> I have an Annotated TimeLine, and I want it so that when the user
> selects one of the dots on the timeline that a dialog window will open
> containing information about it. I cannot seem to get the function to
> run though.
>
> var annotatedtimeline = new
>
> google.visualization.AnnotatedTimeLine(document.getElementById('visualization'));
> annotatedtimeline.draw(data, {'displayAnnotations': true, 'thickness':
> 3});
> google.visualization.events.addListener(annotatedtimeline,'select',
>        function() {
>                var selection = annotatedtimeline.getSelection()[0];
>                console.log(selection);
>       }
> );
>
> That is my code, any help is appreciated, thanks.
> (also, is it possible to make the dot bigger?)
>
> --
> 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.
>
>

-- 
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.

Reply via email to