DeleteDataPoint

Declaration: TIlabTrnDataSet.DeleteDataPoint (idx: integer): integer;
The function DeleteDataPoint deletes the data point at the index idx. It returns a zero value if the removal of the data point was successful, or -1 if the index is invalid (valid range: 1..NDataPoints).