Class
ChartDataSource

Handles data-layer associated operations for RadChartView.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Data Visualization")]
public class ChartDataSource : FrameworkElement, IEnumerable<DataPoint>, IEnumerable

Inheritance: objectChartDataSource

Implements: IEnumerableIEnumerable<DataPoint>

Constructors

ChartDataSource()

Initializes a new instance of the ChartDataSource class.

Declaration

cs-api-definition
public ChartDataSource()

Fields

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

SamplingThresholdProperty

Identifies the SamplingThreshold dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SamplingThresholdProperty

Field Value

DependencyProperty

SamplingUnitIntervalProperty

Identifies the SamplingUnitInterval dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SamplingUnitIntervalProperty

Field Value

DependencyProperty

SamplingUnitProperty

Identifies the SamplingUnit dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SamplingUnitProperty

Field Value

DependencyProperty

Properties

ItemsSource

Gets or sets the ItemsSource.

Declaration

cs-api-definition
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

SamplingThreshold

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

Declaration

cs-api-definition
public int SamplingThreshold { get; set; }

Property Value

int

SamplingUnit

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

Declaration

cs-api-definition
public SamplingTimeUnit SamplingUnit { get; set; }

Property Value

SamplingTimeUnit

SamplingUnitInterval

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

Declaration

cs-api-definition
public int SamplingUnitInterval { get; set; }

Property Value

int

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

cs-api-definition
public IEnumerator<DataPoint> GetEnumerator()

Returns

IEnumerator<DataPoint>

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

Implements IEnumerable<DataPoint>.GetEnumerator()