Please unsubscribe me from this group.
Anil Kaushik > Date: Mon, 19 Jul 2010 13:50:10 -0700 > Subject: [visualization-api] Re: Sort and getSelect between table barchart > don't go together > From: [email protected] > To: [email protected] > > this is what i do..... > > google.visualization.events.addListener(table, 'select', > function() { > var item = table.getSelection()[0]; > chart.setSelection([{row:item.row, column:1}]); > }); > > google.visualization.events.addListener(chart, 'select', > function() { > var item = chart.getSelection()[0]; > table.setSelection([{row:item.row, column:null}]); > }); > > google.visualization.events.addListener(table, 'sort', > function(event) { > data.sort([{column: event.column, desc: !event.ascending}]); > chart.draw(data, null); > }); > > > i also checked what text data we get after sorting in table... it > gives incorrect results.... > > On Jul 19, 4:44 pm, Student <[email protected]> wrote: > > When i use getselect to select between barchart & table and vice versa > > it works fine, but when i sort it according to table and then > > getselect the indexing is lost and hence displays wrong result on > > getselect after sorting. > > The key are not moving with the data sorted. > > Perhaps google viz team should also maintain a separate index column > > internally to manage that or am I doing something wrong? > > Need guidance > > > > regards > > Akku > > -- > 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. > _________________________________________________________________ The latest in fashion and style in MSN Lifestyle http://lifestyle.in.msn.com/ -- 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.
