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

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:

C#
public class DataPointSamplingInfo : IEnumerable<object>, IEnumerable

Inheritance: objectDataPointSamplingInfo

Implements: IEnumerableIEnumerable<object>

Constructors

Initializes a new instance of the DataPointSamplingInfo class.

C#
public DataPointSamplingInfo(AggregateResultCollection resultCollection, AggregateFunctionsGroup group)
Parameters:resultCollectionAggregateResultCollection

The resultCollection.

groupAggregateFunctionsGroup

The group.

Properties

Gets or sets the AggregateResultCollection used to create the DataPoint.

C#
public AggregateResultCollection AggregateResultCollection { get; set; }

Gets the number of elements contained in the DataPointSamplingInfo.

C#
public int Count { get; }

Gets the element at the desired index from the DataPointSamplingInfo.

C#
public object this[int index] { get; }
Parameters:indexint

Methods

Returns an enumerator that iterates through the DataPointSamplingInfo.

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

IEnumerator<object>

Implements: IEnumerable<object>.GetEnumerator()