The solution I'm going to propose will require formula, global data filter (this will affect the datatable) and some scripting. Idea is to use formula column as X-axis which will always re-calculate the duration based on the first NON-excluded row:
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << New Column("Date", Numeric, Continuous, Set Each Value(Today() + Row()));
dt << New Column("TimeSinceStart", Numeric, Continuous, Set Each Value(:Date - :Date[1]));
dt << New Column("TimeWithFormula",
Numeric,
"Continuous",
Format("Best", 12),
Formula(If(!Excluded(), :Date - Col Min(:Date, !Excluded()), .))
);
nw = New Window("",
H List Box(
dt << Data Filter(
Mode(Include(1)),
Add Filter(columns(:Date))
),
gb = dt << Graph Builder(
Size(535, 457),
Show Control Panel(0),
Variables(X(:TimeWithFormula), Y(:weight)),
Elements(Points(X, Y, Legend(3)), Smoother(X, Y, Legend(4)))
)
)
);
There are other ways to do this, but this should be fairly simple option
-Jarmo