- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Data Filter - Zoom Settings
When I open a data filter and use "zoom to Selection" to restrict the displayed ranged, I can generate a J'SL code which looks like the one below.
Unfortunately, when I run the JSL code, the Data Filter is opened without the range restriction (Jmp 17.0):
Is there anything that I can do to get the range restricted?
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Data Filter(
Location( {175, 175} ),
Conditional,
Mode( Include( 1 ) ),
Add Filter(
columns( :height ),
Where( :height >= 65 ),
Display( :height, Min( 60 ) )
)
);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Data Filter - Zoom Settings
You can use Zoom to Selection
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
df = dt << Data Filter(
Location({175, 175}),
Conditional,
Mode(Include(1)),
Add Filter(columns(:height), Where(:height >= 65))
);
fc = df << Get Filter Column(:height);
fc << Zoom to Selection;
Might be a good idea to also filter based on the high value to avoid possible issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Data Filter - Zoom Settings
You mean, repeat what I did manually, but via JSL:
- set the lower limit of the filter to 60
- apply Zoom to Selection to enforce the Display(:height, Min(60))
- then change the lower limit of the filter to 65 to get the correct selection.
Hm, will work as a workaround. But why is the Display(:height, Min(60)) command ignored by the Data Filter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Data Filter - Zoom Settings
I would contact support about it.
There is also weird DFIntMinMaxBox but it has no documentation and is only for specific platforms (filter?). I tried to use it to change the filters "zoom", it does work but it also has bugs so it won't behave exactly the same (if you try to drag over the zoom range it will set the value to minimum even if you cannot see it).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Data Filter - Zoom Settings
Ok, let's see:
Case TS-00033636