Re: [visualization-api] SetSelection Fails on Scatter Graph

2014-07-07 Thread 'Sergey Grabkovsky' via Google Visualization API
This seems to be a timing issue. If you put your selection code in a setTimeout block, everything works perfectly. Here is the fixed version: http://jsfiddle.net/P77hd/ On Mon Jul 07 2014 at 11:12:14 AM, Murilo Faria wrote: > I did a similar code like my app, and here works http://jsfiddle.net/u

Re: [visualization-api] SetSelection Fails on Scatter Graph

2014-07-07 Thread Murilo Faria
I did a similar code like my app, and here works http://jsfiddle.net/uYcvq -- 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 google-visualization-api+u

Re: [visualization-api] SetSelection Fails on Scatter Graph

2014-07-07 Thread Murilo Faria
Strange, the difference between your code and my, is that the button that setSelection is in the tooltip, I'll try to reproduce it there. Em segunda-feira, 7 de julho de 2014 11h04min11s UTC-3, Sergey escreveu: > > Hi, I was unable to reproduce your issue. Could you please modify this > jsfiddle

[visualization-api] SetSelection Fails on Scatter Graph

2014-07-07 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi, I was unable to reproduce your issue. Could you please modify this jsfiddle ( http://jsfiddle.net/7RfLn/ ) in such a way that it fails in the way you're seeing? On Mon Jul 07 2014 at 9:19:53 AM, Murilo Faria wrote: > Hi, > > I'm trying to change de selection of Scatter Graph when user click

[visualization-api] SetSelection Fails on Scatter Graph

2014-07-07 Thread Murilo Faria
Hi, I'm trying to change de selection of Scatter Graph when user click in a button, but when I call the setSelection function with the specific row and column that I want to select, the following exception is throw: Cannot read property 'nodeType' of undefined or null reference. this.chart.set