I'm trying to use a graph as a filter for another graph using 'data filter source box()' (see script below).
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Selection Filter",
Data Filter Context Box(
H List Box(
DFSB = Data Filter Source Box(
Graph Builder(
Size( 208, 207 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables( X( :age ) ),
Elements( Points( X, Legend( 3 ) ) ),
SendToReport( Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "Filter" )} ) )
)
),
Platform( Current Data Table(), Bubble Plot( X( :weight ), Y( :height ), Sizes( :age ), Title Position( 0, 0 ) ) )
)
)
);
dt << clear row states;
wait(1);
rs = dt << get row states();
selected_rows = [35,36,37];
rs[selected_rows] = 945;
DFSB << set row states (dt,rs);
Let's say I've marked row 35,35,37 with red stars. For some reason, when I select these 3 points in the filter graph, those three points automatically returned to default black points (see attached picture comparison of before & after selection). Is there a way for these points to remain as red stars even when selected ?