For a Graph Box in a Dashboard, is there a setting to restrict the displayed data points to the selection of the local Data Filter - or does the user have to control it via:
Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Data filter example",
H List Box(
Data Filter Context Box(
H List Box(
Data Filter Source Box(
df = dt << Data Filter(
Local,
Add Filter( columns( :name ), Where( :name == {"CLAY", "DANNY", "DAVID", "EDWARD"} ) )
)
),
dt << Graph Builder(
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ) ),
Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) )
),
V List Box(
Graph Box(
X Scale( 50, 70 ),
Y Scale( 60, 200 ),
myValues = As List( dt[df <<Get Filtered Rows, {height, weight}] );
For Each( {pos}, myValues,
Print( pos );
Circle( pos, 1 );
)
)
);
)
)
)
)