Thanks Viz Kid. I thought that might be the answer. Will have to refactor the UI to use a different mechanism. Cheers.
On Jan 26, 6:32 pm, Viz Kid <[email protected]> wrote: > Hi > > Unfortunately there is no way at the moment to determine if the click was on > the legend or on a slice. > > Viz Kid > > > > > > > > On Tue, Jan 25, 2011 at 2:04 AM, Markew <[email protected]> wrote: > > Hi, > > I need to implement different actions based on whether the user clicks a > > legend box or a pie slice. > > > Prior to the Jan17 release I used the fact (side-effect?) that > > getSelection() returned a column value when the slice is clicked but not > > when the legend is clicked. > > The Jan17 release seems to have changed this behaviour so that neither > > return a column value (which is probably correct). > > > Is there any robust way (or indeed any way) to determine if the user has > > clicked a slice or the corresponding legend entry? > > Cheers, > > Mark > > > -- > > 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]<google-visualization- > > api%[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.
