New to Telerik UI for WPFStart a free 30-day trial

Handles data-layer associated operations for RadChartView.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
[TelerikToolboxCategory("Data Visualization")]
public class ChartDataSource : FrameworkElement, IEnumerable<DataPoint>, IEnumerable

Inheritance: objectChartDataSource

Implements: IEnumerableIEnumerable<DataPoint>

Constructors

Initializes a new instance of the ChartDataSource class.

C#
public ChartDataSource()

Fields

ItemsSourceProperty

DependencyProperty

Identifies the ItemsSource dependency property.

C#
public static readonly DependencyProperty ItemsSourceProperty

SamplingThresholdProperty

DependencyProperty

Identifies the SamplingThreshold dependency property.

C#
public static readonly DependencyProperty SamplingThresholdProperty

Identifies the SamplingUnitInterval dependency property.

C#
public static readonly DependencyProperty SamplingUnitIntervalProperty

SamplingUnitProperty

DependencyProperty

Identifies the SamplingUnit dependency property.

C#
public static readonly DependencyProperty SamplingUnitProperty

Properties

Gets or sets the ItemsSource.

C#
public IEnumerable ItemsSource { get; set; }

Gets or sets the SamplingThreshold. This property defines the minimum number of items in the source, required to apply sampling.

C#
public int SamplingThreshold { get; set; }

Gets or sets the SamplingUnit. This property defines how the data is combined into groups.

C#
public SamplingTimeUnit SamplingUnit { get; set; }

Gets or sets the SamplingUnitInterval. Works together with SamplingUnit. It defines how many of the specified units will be treated as the same group.

C#
public int SamplingUnitInterval { get; set; }

Methods

Returns an enumerator that iterates through the collection.

C#
public IEnumerator<DataPoint> GetEnumerator()
Returns:

IEnumerator<DataPoint>

A IEnumerator<T> that can be used to iterate through the collection.

Implements: IEnumerable<DataPoint>.GetEnumerator()