public void RemoveDataSeries(string name) { // remove data series from table seriesTable.Remove(name); // invalidate the control Invalidate(); }