Ciao,
Sto cercando di creare un grafico GraphBuilder, con una colonna "Flag" utilizzata nella sezione "Colore" come mostrato di seguito

Voglio che il mio script escluda automaticamente una particolare categoria, diciamo "PASS" in questo caso. Non sono sicuro di come farlo. Qualsiasi suggerimento sarebbe molto utile

Grazie.
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;
);