SeriesCollection<T>
Strongly typed series collection for a specific series kind, with helpers to create and manage items.
Definition
Namespace:Telerik.Windows.Documents.Model.Drawing.Charts
Assembly:Telerik.Windows.Documents.Core.dll
Type Parameters:
T
The type of series the collection holds.
Syntax:
public class SeriesCollection<T> : SeriesCollection, IEnumerable<SeriesBase>, IEnumerable where T : SeriesBase
Inheritance: objectSeriesCollectionSeriesCollection<T>
Implements:
Inherited Members
Methods
Create a new series of type T, add it to the collection, and return it.
public T Add()
T
The new series object.
Create and add a category-based series using categories and values, and return the T instance.
public T Add(IChartData categoriesData, IChartData valuesData, Title title = null)
The data for the categories of the series.
valuesDataIChartDataThe data for the values of the series.
titleTitleThe title of the series.
Returns:T
The new series object.
Create and add a bubble-capable series using X, Y, and size data, and return the T instance.
public T AddBubble(IChartData xValuesData, IChartData yValuesData, IChartData bubbleSizesData, Title title = null)
The data for the X values of the series.
yValuesDataIChartDataThe data for the Y values of the series.
bubbleSizesDataIChartDataThe data for the bubble size values of the series.
titleTitleThe title of the series.
Returns:T
The new series object.
Create and add a scatter-capable series using X and Y data, and return the T instance.
public T AddScatter(IChartData xValuesData, IChartData yValuesData, Title title = null)
The data for the X values of the series.
yValuesDataIChartDataThe data for the Y values of the series.
titleTitleThe title of the series.
Returns:T
The new series object.
Enumerate the series as the concrete type T.
Remove the specified series from the collection if present.
public void Remove(T series)
The series to be removed.