Sto cercando di aggiungere linee di riferimento a Y1 e Y2 che differiscono per la combinazione del gruppo X. Ad esempio attraverso Y1 voglio 18.19, 16.89, 22.54, e 20.57 per 21major, 21minor, 26major e 26minor rispettivamente. C'è un modo per farlo accadere?

Graph Builder(
Size( 826, 671 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables(
X( :X3 ),
Y( :Y ),
Y( :Y ),
Group X( :X2 ),
Group X( :X1 ),
Overlay( :ID )
),
Elements(
Position( 1, 1 ),
Points( X, Y, Legend( 11 ), Jitter( 0 ), Summary Statistic( "Mean" ) ),
Line( X, Y, Legend( 15 ) )
),
Elements(
Position( 1, 2 ),
Points( X, Y, Legend( 13 ), Jitter( 0 ), Summary Statistic( "Range" ) ),
Line( X, Y, Legend( 16 ), Summary Statistic( "Range" ) )
),
SendToReport(
Dispatch(
{},
"Length (mm)",
ScaleBox,
{Format( "Best", 12 ), Min( 15.919376 ),
Add Ref Line( 18.19, "Solid", "Black", "21major", 1 ),
Add Ref Line( 16.89, "Solid", "Black", "21minor", 1 ),
Add Ref Line( 22.54, "Solid", "Black", "26major", 1 ),
Add Ref Line( 20.57, "Solid", "Black", "26minor", 1 )}
),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
13,
Base( 0, 0, 0 ),
Base( 1, 0, 0 ),
Base( 2, 0, 0 ),
Base( 3, 0, 0 ),
Base( 4, 0, 0 ),
Base( 5, 0, 0 ),
Base( 6, 0, 0 ),
Base( 7, 0, 0 ),
Base( 8, 0, 0 ),
Base( 9, 0, 0 ),
Base( 10, 0, 0 )
), Legend Model(
16,
Base( 0, 0, 0 ),
Base( 1, 0, 0 ),
Base( 2, 0, 0 ),
Base( 3, 0, 0 ),
Base( 4, 0, 0 ),
Base( 5, 0, 0 ),
Base( 6, 0, 0 ),
Base( 7, 0, 0 ),
Base( 8, 0, 0 ),
Base( 9, 0, 0 ),
Base( 10, 0, 0 )
)}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text(
" "
)}
),
Dispatch( {}, "Y title", TextEditBox, {Set Text( "Y1" )} ),
Dispatch( {}, "Y 1 title", TextEditBox, {Set Text( "Y2" )} ),
Dispatch(
{},
"400",
LegendBox,
{Set Wrap( 20 ), Legend Position(
{11, [-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3], 15, [-1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1], 13, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
10], 16, [-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3]}
), Position(
{-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, -3, -3, -3,
-3, -3, -3, -3, -3, -3, -3, -3}
)}
)
)
)