Class SeriesCollection
Represents a base class for a collection of series.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Model.Drawing.Charts
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public abstract class SeriesCollection : IEnumerable<SeriesBase>, IEnumerable
Constructors
SeriesCollection()
Declaration
protected SeriesCollection()
Methods
Add()
Creates a new series, adds it to the collection and returns it.
Declaration
public SeriesBase Add()
Returns
SeriesBase
The new series object. |
Add(IChartData, IChartData, Title)
Creates a new series using the specified data, adds it to the collection and returns it.
Declaration
public SeriesBase Add(IChartData categoriesData, IChartData valuesData, Title title = null)
Parameters
IChartData
categoriesData
The data for the categories of the series. |
IChartData
valuesData
The data for the values of the series. |
Title
title
The title of the series. |
Returns
SeriesBase
The new series object. |
Add(SeriesBase)
Adds a new series to the collection.
Declaration
public void Add(SeriesBase series)
Parameters
SeriesBase
series
The series to be added. |
AddBubble(IChartData, IChartData, IChartData, Title)
Creates a new series with data siutable for bubble series, adds it to the collection and returns it.
Declaration
public SeriesBase AddBubble(IChartData xValuesData, IChartData yValuesData, IChartData bubbleSizesData, Title title = null)
Parameters
IChartData
xValuesData
The data for the X values of the series. |
IChartData
yValuesData
The data for the Y values of the series. |
IChartData
bubbleSizesData
The data for the bubble size values of the series. |
Title
title
The title of the series. |
Returns
SeriesBase
The new series object. |
AddScatter(IChartData, IChartData, Title)
Creates a new series with data siutable for scatter series, adds it to the collection and returns it.
Declaration
public SeriesBase AddScatter(IChartData xValuesData, IChartData yValuesData, Title title = null)
Parameters
IChartData
xValuesData
The data for the X values of the series. |
IChartData
yValuesData
The data for the Y values of the series. |
Title
title
The title of the series. |
Returns
SeriesBase
The new series object. |
GetEnumerator()
Enumerates the series in the collection.
Declaration
public IEnumerator<SeriesBase> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<SeriesBase>
|
Implements
Remove(SeriesBase)
Removes the specified series from the collection.
Declaration
public void Remove(SeriesBase series)
Parameters
SeriesBase
series
The series to be removed. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|