Class
OhlcShape

Represents the financial Candlestick symbol.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public abstract class OhlcShape : Shape

Inheritance: objectOhlcShape

Derived Classes: CandlestickOhlcStick

Constructors

OhlcShape()

Initializes a new instance of the OhlcShape class.

Declaration

cs-api-definition
protected OhlcShape()

Fields

DownStrokeProperty

Identifies the DownStroke dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DownStrokeProperty

Field Value

DependencyProperty

UpStrokeProperty

Identifies the UpStroke dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty UpStrokeProperty

Field Value

DependencyProperty

Properties

DataPoint

Gets the data point this shape is representing.

Declaration

cs-api-definition
public OhlcDataPoint DataPoint { get; }

Property Value

OhlcDataPoint

The data point.

DefiningGeometry

Gets a value that represents the Geometry of the Shape.

Declaration

cs-api-definition
protected override Geometry DefiningGeometry { get; }

Property Value

Geometry

The Geometry of the Shape.

DownStroke

Gets or sets the stroke of the candlestick for down (falling) items.

Declaration

cs-api-definition
public Brush DownStroke { get; set; }

Property Value

Brush

The stroke.

UpStroke

Gets or sets the stroke of the candlestick for up (rising) items.

Declaration

cs-api-definition
public Brush UpStroke { get; set; }

Property Value

Brush

The stroke.

Methods

GetLayoutClip(Size)

Returns a geometry for a clipping mask. The mask applies if the layout system attempts to arrange an element that is larger than the available display space.

The size of the part of the element that does visual presentation. The clipping geometry.

Declaration

cs-api-definition
protected override Geometry GetLayoutClip(Size layoutSlotSize)

Parameters

layoutSlotSize

Size

Returns

Geometry

UpdateElementAppearance()

Declaration

cs-api-definition
protected virtual void UpdateElementAppearance()

UpdateOhlcElementStroke()

Chooses for this shape.

Declaration

cs-api-definition
protected void UpdateOhlcElementStroke()