Hi. When a legend item is clicked, the relevant selected object contains only the 'row' property of the relevant series. So by looking at the 'row' property only, there is no difference between clicking on the legend or on a pie slice.
An additional problem that you might encounter is that the getSelection method returns an array of selected objects. If you want this method to always return the last pressed item, you can call setSelection([]) in each event of selection. This way, on each new select event, exactly one object would be in the getSelection array and its 'row' property would indicate the corresponding element that was just pressed. Hope that helps in creating the desired behavior. BTW: As your question regards the Google Visualization API and not Google Chart API, you should have asked this in the Google Visualization API Group ( http://groups.google.com/group/google-visualization-api) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Chart API" group. To post to this group, send email to google-chart-api@googlegroups.com To unsubscribe from this group, send email to google-chart-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-chart-api?hl=en -~----------~----~----~----~------~----~------~--~---