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