Hi,

I have a bar chart where I want to use the select event. But I do not want 
the values on the bar, I would like to fetch the category name i.e. the 
labels on the vertical axis. So far, I have only succeeded in getting the 
index of both row and column and also the cell value.

Example, when clicking on bar with value 1336060 from data table below I 
would like to get the value 2003. Any ideas on how to do this?

 var data = google.visualization.arrayToDataTable([
    ['Year', 'Austria'],
    ['2003',  1336060],
    ['2004',  1538156],
    ['2005',  1576579],
    ['2006',  1600652],
    ['2007',  1968113],
    ['2008',  1901067]
  ]);

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to