Class
OhlcSeriesDescriptor

Represents a concrete ChartSeriesDescriptor that may be used to create financial series - CandlestickSeries and OhlcSeries.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public class OhlcSeriesDescriptor : CategoricalSeriesDescriptorBase

Inheritance: objectChartSeriesDescriptorCategoricalSeriesDescriptorBaseOhlcSeriesDescriptor

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

Constructors

OhlcSeriesDescriptor()

Declaration

cs-api-definition
public OhlcSeriesDescriptor()

Fields

ClosePathProperty

Identifies the ClosePath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClosePathProperty

Field Value

DependencyProperty

HighPathProperty

Identifies the HighPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HighPathProperty

Field Value

DependencyProperty

LowPathProperty

Identifies the LowPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LowPathProperty

Field Value

DependencyProperty

OpenPathProperty

Identifies the OpenPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OpenPathProperty

Field Value

DependencyProperty

Properties

ClosePath

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

Declaration

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

Property Value

string

DefaultType

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

Declaration

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

Property Value

Type

Overrides ChartSeriesDescriptor.DefaultType

HighPath

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

Declaration

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

Property Value

string

LowPath

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

Declaration

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

Property Value

string

OpenPath

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

Declaration

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

Overrides ChartSeriesDescriptor.CreateInstanceCore(object)