Class ItemMapping
This class represents an individual mapping between a field from the RadChart's ItemsSource and the DataPointMember member that should be mapped to it.
Inheritance
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class ItemMapping : DependencyObject
Remarks
You need to add a separate ItemMapping instance to the respective ItemMappings collection for every DataPointMember you would like to bind.
Constructors
ItemMapping()
ItemMapping(String, DataPointMember)
Initializes a new instance of the ItemMapping class.
Declaration
public ItemMapping(string fieldName, DataPointMember dataPointMember)
Parameters
System.String
fieldName
Field name in the context of the ItemsSource the chart is bound to. |
DataPointMember
dataPointMember
The DataPointMember member that should be mapped to the data field from the ItemsSource. |
ItemMapping(String, DataPointMember, ChartAggregateFunction)
Initializes a new instance of the ItemMapping class.
Declaration
public ItemMapping(string fieldName, DataPointMember dataPointMember, ChartAggregateFunction aggregateFunction)
Parameters
System.String
fieldName
Field name in the context of the ItemsSource the chart is bound to. |
DataPointMember
dataPointMember
The DataPointMember member that should be mapped to the data field from the ItemsSource. |
ChartAggregateFunction
aggregateFunction
The aggregate function. |
Fields
AggregateFunctionProperty
Identifies the AggregateFunction dependency property.
Declaration
public static readonly DependencyProperty AggregateFunctionProperty
Field Value
System.Windows.DependencyProperty
|
CustomAggregateFunctionProperty
Identifies the CustomAggregateFunction dependency property.
Declaration
public static readonly DependencyProperty CustomAggregateFunctionProperty
Field Value
System.Windows.DependencyProperty
|
CustomSamplingFunctionProperty
Identifies the CustomSamplingFunction dependency property.
Declaration
public static readonly DependencyProperty CustomSamplingFunctionProperty
Field Value
System.Windows.DependencyProperty
|
DataPointMemberProperty
Identifies the DataPointMember dependency property.
Declaration
public static readonly DependencyProperty DataPointMemberProperty
Field Value
System.Windows.DependencyProperty
|
FieldNameProperty
Identifies the FieldName dependency property.
Declaration
public static readonly DependencyProperty FieldNameProperty
Field Value
System.Windows.DependencyProperty
|
FieldTypeProperty
Identifies the FieldType dependency property.
Declaration
public static readonly DependencyProperty FieldTypeProperty
Field Value
System.Windows.DependencyProperty
|
SamplingFunctionProperty
Identifies the SamplingFunction dependency property.
Declaration
public static readonly DependencyProperty SamplingFunctionProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AggregateFunction
Gets or sets the aggregate function.
Declaration
public ChartAggregateFunction AggregateFunction { get; set; }
Property Value
ChartAggregateFunction
The aggregate function. |
CustomAggregateFunction
Gets or sets the custom aggregate function.
Declaration
public EnumerableSelectorAggregateFunction CustomAggregateFunction { get; set; }
Property Value
EnumerableSelectorAggregateFunction
The custom aggregate function. |
CustomSamplingFunction
Gets or sets a custom function used to extract data samples.
Declaration
public EnumerableSelectorAggregateFunction CustomSamplingFunction { get; set; }
Property Value
EnumerableSelectorAggregateFunction
The custom sampling function. |
DataPointMember
The DataPointMember member that should be mapped to the data field from the ItemsSource.
Declaration
public DataPointMember DataPointMember { get; set; }
Property Value
DataPointMember
|
FieldName
Gets or sets a field name in the context of the datasource the chart is bound to.
Declaration
public string FieldName { get; set; }
Property Value
System.String
|
FieldType
Gets or sets the field type in the context of the datasource the chart is bound to.
Declaration
public Type FieldType { get; set; }
Property Value
System.Type
|
SamplingFunction
Gets or sets the sampling function.
Declaration
public ChartSamplingFunction SamplingFunction { get; set; }
Property Value
ChartSamplingFunction
The sampling function. |