new worksheet, add 5 columns,
fill all 7 columns with random data, plot scatter plot
double click legend try to edit ==> open properties dialog, should in-place edit
Fixed in Origin2023b, now in legend, if the longest line is not more than the value of @TLIPN, double click and in-place edit