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 :
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 :
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
L'Oréal Data & Analytics
"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)