Thanks @Thierry_S
I think I have to explain it better. I am using report window and bivariate to plot my graphs in a JSL script. I attached an example of my data table and I run the below script. The legends color are messed up after on the graphs and I think that is a reason that they get black in my main script.
I do not know how to solve it,
myPath = "C:\Users\....";
dt = Open( myPath || "tset.jmp", Run JSL( 1 ) );
Bivariate(
Y( :Data1 ),
X( :time1 ),
SendToReport(
Dispatch(
{},
"Bivar Plot",
FrameBox,
{Row Legend(
chamber1,
Color( 1 ),
Color Theme( "JMP Default" ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
)
)
);
Bivariate(
Y( :Data2 ),
X( :time2 ),
SendToReport(
Dispatch(
{},
"Bivar Plot",
FrameBox,
{Row Legend(
chamber2,
Color( 1 ),
Color Theme( "JMP Default" ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
)
)
);
Bivariate(
Y( :Data3 ),
X( :time3 ),
SendToReport(
Dispatch(
{},
"Bivar Plot",
FrameBox,
{Row Legend(
chamber3,
Color( 1 ),
Color Theme( "JMP Default" ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
)
)
);