bug with selector and delete series.
Posted: Fri Jun 26, 2015 9:12 am
Dear Steema,
We found one bug with selector and delete series.When we delete any series from chart. then also selector can select that series which is invisible on chart.
I am using following function to delete series.
We found one bug with selector and delete series.When we delete any series from chart. then also selector can select that series which is invisible on chart.
I am using following function to delete series.
Code: Select all
public void DeleteSeries(Series selectedSeries)
{
tChart1.Series.Remove(selectedSeries);
selectedSeries.Dispose();
selector1.Active = false;
chartObj.isSeriesSelected = false;
tChart1.Update();
tChart1.Refresh();
ChartParent.EnableAxis(VerticalAxis.Left, tChart1.Axes.Left.Visible);
ChartParent.EnableAxis(VerticalAxis.Right, tChart1.Axes.Right.Visible);
}