Is it possible to apply the same data filter to two separate graphs from two different data tablesI am writing a script for a report that automatically imports, rearranges and then produces all the relevant graphs and statistical analyses in the one screen as a final report. I wish for bar chart and area plot (produced from dt and dt3 respectively - see below) in the report to have the same data filter applied to them, which changes both the plots simultaneously. However, I can only get the one graph to change with the data filter - any suggestions? I've included the relevant part of my script below: Also I'm aware the layout isn't the best at the moment, but as I'm pretty new to this scripting thing, I'm just trying to tackle one issue at a time. Thanks!
dt:Sample ID << Set Property( "Link ID", 1 );
dt3:Sample ID << Set Property( "Link Reference", Reference Table( dt ) );
jrnl = New Window( "Screening Summary", <<REPORT></REPORT>
Re: Is it possible to apply the same data filter to two separate graphs from two different data tablNo. As I envision it, the data filter changes the Row State column , the Row State Handler would be triggered, and it would contain the code to make the changes in the other data table and charts. Or if you used a Graphic Script, the script would detect the changes in the graph due to the data filter, and then would make the calls to the other data filter, or to the graphs from the other data table to adjust their displays.
Re: Is it possible to apply the same data filter to two separate graphs from two different data tablWould all of these need to be contained within the Data filter context?
Re: Is it possible to apply the same data filter to two separate graphs from two different data tablBy using "Make Row State Handler", "Data Table Subscriptions" and "Add Graphic Scripts" you should be able to determine changes made in one Data Filter, and then through JSL, make the changes in the second Data Filter.