Class
DataPointSamplingInfo

Represents an info class that is used to store the data needed to generate a DataPoint in sampling scenario.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public class DataPointSamplingInfo : IEnumerable<object>, IEnumerable

Inheritance: objectDataPointSamplingInfo

Implements: IEnumerableIEnumerable<object>

Constructors

DataPointSamplingInfo(AggregateResultCollection, AggregateFunctionsGroup)

Initializes a new instance of the DataPointSamplingInfo class.

Declaration

cs-api-definition
public DataPointSamplingInfo(AggregateResultCollection resultCollection, AggregateFunctionsGroup group)

Parameters

resultCollection

AggregateResultCollection

The resultCollection.

group

AggregateFunctionsGroup

The group.

Properties

AggregateResultCollection

Gets or sets the AggregateResultCollection used to create the DataPoint.

Declaration

cs-api-definition
public AggregateResultCollection AggregateResultCollection { get; set; }

Property Value

AggregateResultCollection

Count

Gets the number of elements contained in the DataPointSamplingInfo.

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

this[int]

Gets the element at the desired index from the DataPointSamplingInfo.

Declaration

cs-api-definition
public object this[int index] { get; }

Parameters

index

int

Property Value

object

Methods

GetEnumerator()

Returns an enumerator that iterates through the DataPointSamplingInfo.

Declaration

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

Returns

IEnumerator<object>

Implements IEnumerable<object>.GetEnumerator()