Class
ScatterSeriesDescriptor

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

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public class ScatterSeriesDescriptor : ChartSeriesDescriptor

Inheritance: objectChartSeriesDescriptorScatterSeriesDescriptor

Derived Classes: CustomScatterSeriesDescriptor

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

Constructors

ScatterSeriesDescriptor()

Declaration

cs-api-definition
public ScatterSeriesDescriptor()

Fields

XValuePathProperty

Identifies the XValuePath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty XValuePathProperty

Field Value

DependencyProperty

YValuePathProperty

Identifies the YValuePath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty YValuePathProperty

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

XValuePath

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

Declaration

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

Property Value

string

YValuePath

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

Declaration

cs-api-definition
public string YValuePath { 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 ScatterPointSeries instance.

Overrides ChartSeriesDescriptor.CreateInstanceCore(object)