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.