Ho to send messages to a local data filter inside a graph builder windowIs it possible to send messages to a local data filter inside a graphbuilder object?
Unfortunately, it's not possible to define a varaible "ldf" inside the graphbuilder code - to send the messages to "ldf".
Do I have to "pipe" the message "through the gb object"?
View more...dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Graph Builder(
Size( 534, 464 ),
Show Control Panel( 0 ),
Graph Spacing( 5 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Points( X, Y, Legend( 5 ) ), Smoother( X, Y, Legend( 6 ) ) ),
Local Data Filter( Add Filter( columns( :sex ), Where( :sex == "F" ) ) )
);
df = dt << Data Filter(
Location( {696, 15} ),
Mode( Include( 1 ) ),
Add Filter( columns( :sex ), Where( :sex == "F" ) )
);
ldf = (report(gb) << Parent)["Local Data Filter"];
df << Clear ();<BR />//same for ldf:
ldf[buttonBox(1)] << click();
df << Add Filter( columns( :name) );<BR />// same for ldf? GraphicsScripting