Not spam!
Link to post:
(Make Filter Change Handler for Dashboard)
by anna_717
https://community.jmp.com/t5/Discussions/Make-Filter-Change-Handler-for-Dashboard/m-p/867465#M103018
Hi, I have a dashboard with local data filter and a number of graph builder charts in tab page boxes. I would like to resize the frameboxes in some of the charts when the local data filter selection is changed. I have tried using the code below, but it gives an error: "The OwnerBox was deleted before the message << could be sent because the Graph Builder needed to recalculate first". Can anyone suggest how to overcome this error? Thanks db_1 = db << Get Windows();
local_filter = ((db_1[1] << XPath( "//OutlineBox[text()='Local Data Filter']" )) << get scriptable object())[1];
update_chart = Function( {a},
Wait( 1 );
obj1 = db_1[1] << xpath( "//TabPageBox[contains(text(),'Weight')]//FrameBox" );
obj1 << framesize( 300, 300 );
);
filter_handler = local_filter << Make Filter Change Handler( update_chart );T This is the error message in the log: The OwnerBox was deleted before the message << could be sent because the Graph Builder needed to recalculate first; the Graph Builder displaybox tree was recreated with new boxes. Use the <
[Message body truncated...]
This message has 0 replies