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, 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.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