That was super quick!!! Thank you so much! On Thursday, January 17, 2013 4:18:27 PM UTC-8, asgallant wrote: > > D'oh! That's my mistake there. The simple way to handle the problem is > to clear the selection in the main chart after someone clicks on it (see > this: http://jsfiddle.net/asgallant/x5Eth/4/). In doing so, you lose the > visual indication of which column was selected in the main chart. If that > doesn't matter to you, then you're good to go. If you want to keep the > visual indication in the main chart, then you have to decide what should > happen when someone clicks a column a second time (the second click clears > the selection, which is why the script throws an error when you try to > access information about the selected element). This simplest case here is > to do nothing (see this: http://jsfiddle.net/asgallant/x5Eth/5/). > > On Thursday, January 17, 2013 7:04:25 PM UTC-5, Raji wrote: >> >> Here is my chart - http://jsfiddle.net/asgallant/x5Eth/ >> >> It gives a javascript error if the same column is clicked twice >> consecutively or if the user double clicked on it. >> Could you tell me how to get rid of this error? >> >> thank you in advance! >> >>
-- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/RxlCtWYTLtYJ. 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.
