You need to get the chart objects to work on from the ChartWrappers, so it would look more like this:
thechartname.getChart().setSelection(thetablename.getChart().getSelection()) ; which should work, provided that both the chart and table are showing the same rows of data in the same order. It gets more complicated if they are not. Your chart that has the min value from grouped data may or may not be able to tie in with other charts, depending on whether or not you can reverse the grouping to find out which row had the min value. If you can't identify which row had the min value, then you can't tie into the other charts. On Saturday, January 5, 2013 2:52:13 PM UTC-5, Patryk D wrote: > > Hello! > I am trying to achieve same effect as Events ยป Interaction Using > Events<https://code.google.com/apis/ajax/playground/?type=visualization#interaction_using_events>, > > but with two chartwrappers - table and barchart. So, choosing a bar in > chartwrapper:barchart sets a corresponding row in chartwrapper:table > selected. They are both in same dashboard, so I guess it should be > possible, yet "thechartname.setSelection(thetablename.getSelection());" is > not working. Does anyone have any clue how to fix it? My project may be > found here <http://dydaktyk.ue.katowice.pl/~doroszp/wad/wad.php>. > I also wanted another chart to do the same thing, but it is a columnchart > containing min value of grouped data. Is it possible? > Would be grateful for any advices, > Patryk > -- 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/-/320WD50r5uYJ. 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.
