SeriesCollection
Base collection for chart series with helpers to add, enumerate, and remove series.
Definition
Namespace:Telerik.Windows.Documents.Model.Drawing.Charts
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
public abstract class SeriesCollection : IEnumerable<SeriesBase>, IEnumerable
Inheritance: objectSeriesCollection
Derived Classes:
Implements:
Constructors
protected SeriesCollection()
Methods
Create a new series of the collection’s configured type, add it, and return the instance.
Create and add a category-based series using the specified categories and values and return it.
public SeriesBase 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:The new series object.
Add an existing series instance to the collection.
Create and add a bubble-capable series using the provided X, Y, and size data and return it.
public SeriesBase 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:The new series object.
Create and add a scatter-capable series using the provided X and Y data and return it.
public SeriesBase 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:The new series object.
Enumerates the series in the collection for iteration in foreach.
Remove the specified series from the collection if present.