ClassOhlcShape
Represents the financial Candlestick symbol.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public abstract class OhlcShape : Shape
Inheritance: objectOhlcShape
Derived Classes:
Constructors
OhlcShape()
Initializes a new instance of the OhlcShape class.
Declaration
protected OhlcShape()
Fields
DownStrokeProperty
Identifies the DownStroke dependency property.
Declaration
public static readonly DependencyProperty DownStrokeProperty
Field Value
DependencyProperty
UpStrokeProperty
Identifies the UpStroke dependency property.
Declaration
public static readonly DependencyProperty UpStrokeProperty
Field Value
DependencyProperty
Properties
DataPoint
Gets the data point this shape is representing.
Declaration
public OhlcDataPoint DataPoint { get; }
Property Value
The data point.
DefiningGeometry
Gets a value that represents the Geometry of the Shape.
Declaration
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
public Brush DownStroke { get; set; }
Property Value
Brush
The stroke.
UpStroke
Gets or sets the stroke of the candlestick for up (rising) items.
Declaration
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.Declaration
protected override Geometry GetLayoutClip(Size layoutSlotSize)
Parameters
layoutSlotSize
Size
Returns
Geometry
UpdateElementAppearance()
Declaration
protected virtual void UpdateElementAppearance()
UpdateOhlcElementStroke()
Chooses for this shape.
Declaration
protected void UpdateOhlcElementStroke()