This question is locked. New answers and comments are not allowed.
Hi,
I was just wondering if it was possible to remove a scattered line series by name?
i know that i can remove it by specifying the index, but can i not remove it by name as i have more than one ScatterLineSeries and might not always know the index as if one has been removed before, the indexes for the other ScatterLineSeries
that follow will have changed.
Thanks
I was just wondering if it was possible to remove a scattered line series by name?
ScatterLineSeries movementLine = new ScatterLineSeries();
public void PopulateChart()
{
movementLine.Items.Add(new SeriesItem(xVal, yValue));
}
protected void RadButton1_Click(object sender, EventArgs e)
{
chart.PlotArea.Series.Remove(movementLine);
}i know that i can remove it by specifying the index, but can i not remove it by name as i have more than one ScatterLineSeries and might not always know the index as if one has been removed before, the indexes for the other ScatterLineSeries
that follow will have changed.
Thanks