Hello friends,
Is there any way to grab the value of user selection in column switcher box?
Column switcher box code is highlited in JSL below. I have also added an image to this message in order to visualize the problem.
M2V1_dt << Bivariate(
Y( :VALUE ),
X( :Time_1 ),
Fit Where(
:SITE == "A",
Fit Spline( 0.1, Standardized, {Line Color( {213, 72, 87} )} )
),
Fit Where(
:SITE == "B",
Fit Spline( 0.1, Standardized, {Line Color( {64, 111, 223} )} )
),
<STRONG> Column Switcher( VALUE, {VALUE, VAL2} ),
Column Switcher( Time_1, {Time_1, Time_2} ),</STRONG>
SendToReport(
Dispatch(
{},
"2",
ScaleBox,
{Add Ref Line( 18, Dashed, "Dark Blue", "+0.5S", 2 ),
Add Ref Line( 9, Dashed, "Dark Blue", "-0.5S", 2 )}
),
Dispatch(
{},
"Bivar Plot",
FrameBox,
{Frame Size( 533, 205 ), Row Legend(
SITE,
Color( 1 ),
Color Theme( "JMP Default" ),
Marker( 1 ),
Marker Theme( "Standard" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
),
Dispatch(
{},
"Smoothing Spline Fit",
OutlineBox,
{Close( 1 ), Set Title( "" )}
),
Dispatch(
{},
"Smoothing Spline Fit",
OutlineBox,
{Close( 1 ), Set Title( "" )}
)
)
);Thanks,
RB.