Hallo,
Ich versuche, ein GraphBuilder-Diagramm zu erstellen, wobei im Abschnitt „Farbe“ eine Spalte „Flag“ verwendet wird, wie unten gezeigt

Ich möchte, dass mein Skript eine bestimmte Kategorie automatisch ausschließt, sagen wir in diesem Fall „PASS“. Ich bin mir nicht sicher, wie ich das machen soll. Alle Vorschläge wären sehr hilfreich

Danke schön.
For(i = 1, i <= N Items(y_cols), i++,
y_name = Char(y_cols[i]);
x_name = Char(x_col[1]);
gb = dt << Graph Builder(
Size(700, 350),
Show Control Panel(0),
Show Footer(0),
Variables(X(x_col[1]), Y(y_cols[i]), Color( :Flag )),
Elements(Points(X, Y, Legend(24))),
invisible,
SendToReport(
Dispatch(
{},
"Graph Builder",
OutlineBox,
{Set Title( y_name || " vs " || x_name ), Image Export Display( Normal )}
),
Dispatch(
{},
"Graph Builder",
FrameBox,
{Marker Size( 5 ), Transparency(1)}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( "" )}
),
Dispatch(
{},
"X title",
TextEditBox,
{Set Text( "" )}
)
)
);
gb << Show Legend(1);
myVLB << append( Report( gb ) );
gb << delete;
);