Ich freue mich darauf, Y1 und Y2 um Referenzzeilen zu erweitern, die sich durch die Kombination der Gruppe X unterscheiden. Über Y1 möchte ich zum Beispiel 18.19, 16.89, 22.54 und 20.57 für 21major, 21minor, 26major und 26minor. Gibt es eine Möglichkeit, dies zu erreichen?

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}
)}
)
)
)