This is a real bug, that null values are not counted, and so you get this offset.We will look into it.
Thanks, VizGuy On Tue, Jun 9, 2009 at 11:45 AM, viz-adict <[email protected]> wrote: > > Hi! > I have a set of data like this > > http://spreadsheets.google.com/ccc?key=rP54nOmjw1uXcq6hBZY6_Vw&hl=es > > I'd like to prepare a listener and get the selected values on a > lineChart representation but when I select a point like the D 4 in > the spreadsheet example the returned value is not A 4 but A 2 (notice > that D1 and D2 does not exist) > > the returned value for D4 is A2 > the returned value for D5 is A3 > the returned value for D7 is A4 > ... > > There is like an offset in the values... > Clicking on the n-value returns the date[n].... > What I'm doing wrong? > > row = getSelection()[0].row > date = mydata.getValue(row, 0) ; > > Sorry. I can't provide an online example but hope it can be > understandible... > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
