Hi @CompleteLeopard,
If you right-click on the left axis and select "Axis Settings...", you'll have access to more customization for the specs reference lines aspects and names :
Victor_G_0-1681729000169.png
You can do it manually, save your graph preferences, and then look at the script so that you can re-use automatically the settings you have modified.
For this graph :
Victor_G_1-1681729100189.png
My JSL script now looks like this (you can see the new properties for reference lines just after the first "scalebox" with the functions "Add Ref Line" and the settings behind) :
Graph Builder(
Size( 570, 503 ),
Show Control Panel( 0 ),
Variables( Y( :DIAMETER ), Group Y( :MACHINE ), Color( :Phase ) ),
Elements( Points( Y, Legend( 14 ) ) ),
SendToReport(
Dispatch(
{},
"DIAMETER",
ScaleBox,
{Add Ref Line( 3, "Dashed", "Medium Dark Red", "LSL", 1 ),
Add Ref Line( 6, "Dashed", "Medium Dark Red", "USL", 1 ),
Add Ref Line( 4.5, "Dotted", "Medium Dark Green", "Target", 1 )}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
14,
Properties( 0, {Line Color( 21 )}, Item ID( "1", 1 ) )
)}
)
)
);
I hope this answer will help you,
Victor GUILLER
"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)