Class DataSeries
Represents a data series that is visualized by the RadChart in one of the ChartAreas. It is an RadObservableCollection<T> of DataPoint items. Additionally, contains properties to control the data series visualization.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class DataSeries : RadHierarchicalObservableCollection<DataPoint>, ISuspendNotifications, INotifyCollectionStateProvider, INotifyItemPropertyChanged, ILogicalItem
Constructors
DataSeries()
Properties
Definition
Gets or sets the chart type that will be used to visualize the DataSeries.
Declaration
public ISeriesDefinition Definition { get; set; }
Property Value
ISeriesDefinition
The definition of the series. |
LegendLabel
The label displayed as information in the ChartLegend.
Declaration
public string LegendLabel { get; set; }
Property Value
System.String
|
ZPosition
Gets the ZPosition of the data series.
Declaration
public int ZPosition { get; }
Property Value
System.Int32
|
Methods
ClearItems()
Removes all items from the collection.
Declaration
protected override void ClearItems()
Overrides
InsertItem(Int32, DataPoint)
Inserts an element into the System.Collections.ObjectModel.Collection<T> at the specified index.
Declaration
protected override void InsertItem(int index, DataPoint item)
Parameters
System.Int32
index
The zero-based index at which |
DataPoint
item
The object to insert. The value can be null for reference types. |
Overrides
Exceptions
System.ArgumentOutOfRangeException
|
RemoveItem(Int32)
Removes the element at the specified index of the System.Collections.ObjectModel.Collection<T>.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
The zero-based index of the element to remove. |
Overrides
Exceptions
System.ArgumentOutOfRangeException
|