One more request - can you please send a code snippet that reproduces the problem. You can use the playground - http://code.google.com/apis/ajax/playground/?type=visualization#interaction_using_events
<http://code.google.com/apis/ajax/playground/?type=visualization#interaction_using_events> Thanks ChartMan On Wed, Jul 7, 2010 at 11:54 AM, Dominic <[email protected]> wrote: > Hi there, > > I'm using the corechart package, as well as the pie package and the > table one > > Cheers, > > Dom > > On Jul 6, 10:37 pm, ChartMan <[email protected]> wrote: > > What package are you using for the BarChart ? > > > > > > > > On Mon, Jul 5, 2010 at 4:26 PM, Dominic <[email protected]> wrote: > > > Hi there, > > > > > I've a google.visualization.BarChart and a google.visualization.Table > > > on the same page, both are global variables (window.googleBar and > > > window.googleTable respectively). I've set up the BarChart so that > > > when a bar is clicked this happens: > > > > > var item = googleTable.getSelection()[0]; > > > googleBar.setSelection([{row:item.row, column:null}]); > > > > > This means that when the bar is clicked the corresponding row in the > > > table is highlighted. I'm after something that does the same but the > > > other way around... such that when a table row is clicked a bar is > > > highlighted. I tried this: > > > > > var item = googleBar.getSelection()[0]; > > > googleTable.setSelection([{row:item.row, column:null}]); > > > > > but nothing happens :-( > > > > > Anyone any ideas what I'm doing wrong? > > > > > Cheers, > > > > > Dom > > > > > -- > > > 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]><google-visualization- > api%[email protected] <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]<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.
