Series collection
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
public class ChartSeriesCollection : ChartingStateManagedCollection<ChartSeries>, IChartingStateManager, IList, ICollection, IEnumerable
Inheritance: objectChartingStateManagedCollection<ChartSeries>ChartSeriesCollection
Implements:
Inherited Members
Constructors
Creates a new instance of the ChartSeriesCollection class.
public ChartSeriesCollection()
Creates a new instance of the ChartSeriesCollection class.
Properties
Gets or sets a ChartSeries at the specific position in ChartSeries collection.
[Browsable(false)]
public override ChartSeries this[int index] { get; set; }
Position in the collection
Property Value:ChartSeries at the specific position
Overrides:
Methods
Add ChartSeries at the collection
public override void Add(ChartSeries chartSeries)
ChartSeries to add
Overrides:
Removes data binding links from series
public void ClearDataBoundState()
Clears items in all series
public void ClearItems()
Find series by name
public ChartSeries GetByName(string name)
ChartSeries name
Returns:ChartSeries
Gets all series related to the given Y ChartAxis
public ChartSeriesCollection GetFilteredSeriesByYAxis(ChartYAxisType yAxisType)
YAxisType(Primary, Secondary)
Returns:All series related to the given Y ChartAxis
Returns the number of items in the longest data series.
Gets the maximal item value of all series.
Gets the minimal item value of all series.
Returns a reference to the ChartsSereis object at the specified index.
public ChartSeries GetSeries(int index)
Index of series
Returns:Series with specified index
Insert ChartSeries in collection at the specific position
public override void Insert(int index, ChartSeries item)
Position
itemChartSeriesChartSeries
Overrides:
Insert ChartSeries in collection at the specific position
public void InsertSeries(int index, ChartSeries item)
Position
itemChartSeriesChartSeries
Load ViewState
protected override void LoadViewState(object state)
ViewState with data
Overrides:
Removes the all data series from the series collection.
public void RemoveSeries()