As the attachment, the JPG graph is manually generated, then save as JSL, when add for loop and use "char(columnname(i))" to place "Flange", it not display "Row Legend()".
manually generated:
Bivariate(
Y(:Y),
X(:X),
SendToReport(
Dispatch(
{},
"Bivar Plot",
FrameBox,
{Marker Size(5), Marker Drawing Mode("Normal"),
Row Legend(
Flange,
Color(1),
Color Theme("Blue to Gray to Red"),
Marker(0),
Marker Theme(""),
Continuous Scale(1),
Reverse Scale(0),
Excluded Rows(0)
)}
)
)
);