Class
CategoricalSeriesDescriptor

Represents a concrete ChartSeriesDescriptor that may be used to create all the categorical chart series variations.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public class CategoricalSeriesDescriptor : CategoricalSeriesDescriptorBase

Inheritance: objectChartSeriesDescriptorCategoricalSeriesDescriptorBaseCategoricalSeriesDescriptor

Inherited Members CategoricalSeriesDescriptorBase.CategoryPathPropertyCategoricalSeriesDescriptorBase.CategoryPathChartSeriesDescriptor.StylePropertyChartSeriesDescriptor.ItemsSourcePathPropertyChartSeriesDescriptor.TypePathPropertyChartSeriesDescriptor.TypeConverterPropertyChartSeriesDescriptor.CollectionIndexPropertyChartSeriesDescriptor.ChartDataSourceStylePropertyChartSeriesDescriptor.CreateInstance(object)ChartSeriesDescriptor.CreateDefaultInstance(object)ChartSeriesDescriptor.TypePathChartSeriesDescriptor.TypeConverterChartSeriesDescriptor.StyleChartSeriesDescriptor.ItemsSourcePathChartSeriesDescriptor.CollectionIndexChartSeriesDescriptor.ChartDataSourceStyle

Constructors

CategoricalSeriesDescriptor()

Declaration

cs-api-definition
public CategoricalSeriesDescriptor()

Fields

ValuePathProperty

Identifies the ValuePath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ValuePathProperty

Field Value

DependencyProperty

Properties

DefaultType

Gets the default type of series that are to be created if no TypePath and no Style properties are specified.

Declaration

cs-api-definition
public override Type DefaultType { get; }

Property Value

Type

Overrides ChartSeriesDescriptor.DefaultType

ValuePath

Gets or sets the name of the property that points to the Value value of the data point view model.

Declaration

cs-api-definition
public string ValuePath { get; set; }

Property Value

string

Methods

CreateInstanceCore(object)

Core entry point for creating the ChartSeries type defined by this descriptor. Allows inheritors to provide custom implementation.

Declaration

cs-api-definition
protected override ChartSeries CreateInstanceCore(object context)

Parameters

context

object

The context (this is the raw data collection or the data view model) for which a ChartSeries needs to be created.

Returns

ChartSeries

Exceptions

InvalidOperationException

The base implementation fails to create a valid CategoricalSeries instance.

Overrides ChartSeriesDescriptor.CreateInstanceCore(object)