Adding to @txnelson : an implementation in JSL would be of the form :
dt = Open( "$SAMPLE_DATA/Time Series/Raleigh Temps.jmp" );
// Traditional Slider View
dt << Graph Builder(
Size( 814, 714 ),
Variables(
X( :Name( "Month/Year" ) ),
Y( :Temperature ),
Y( :Predicted Temperature, Position( 1 ) )
),
Elements( Line( X, Y( 1 ), Y( 2 ), Legend( 23 ) ) ),
Local Data Filter( Conditional, Add Filter( columns( :Month Number ), Display( :Container, Size( 160, 225 ), List Display )) )
);
Best
Uday