Hello there, i have a Stacked Column Chart with quite a lot of data:
http://www.heavencore.co.uk/viewpage.php?page_id=21
(give it a few seconds to load)
I need to basically add an event on column click that will return
values of the column (eg 2009/22), series (eg: Broadband) and value
(eg: 3) (basically exactly what the native tooltiup does)
I have managed to add a listener to alert() the '2009/22' using:
google.visualization.events.addListener(chart, 'select', function() {
var row = chart.getSelection()[0].row;
alert('You selected ' + data.getValue(row, 0));
});
However, this is not what i want, i understnad i have to deal with
rows and columns here, but i am struggling to get the syntax right.
Please help!
Many Thanks!
Jordon
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---