Hi is there a method to clear all the series on a Line Chart?
Im currently using UltraChart1.Series.Remove(UltraChartSeries);
and off course..it removes the series....but what I want to accomplish is to leave the chart blank...the series is still on screen...
If you're using a non-composite chart, UltraChart1.Series.Clear() should be sufficient.
If you're using a composite chart, you need to remove the series from the layer.Series collection as well as from the chart.Series collection.
what is the layer.series collection?
The layer refers to the composite chart layer, which is of type ChartLayerAppearance.
You can get access to your composite layers like this:ChartLayerAppearance myLayer = myChart.CompositeChart.ChartLayers[IndexOfLayer];
I hope this answers your question.