HorizontalLineAnnotation
StockSharp.Xaml.Charting.Visuals.Annotations
A class for HorizontalLineAnnotation
Inherits: LineAnnotationWithLabelsBase
Constructors
HorizontalLineAnnotation()
Creates new instance of HorizontalLineAnnotation
Properties
HorizontalAlignment : HorizontalAlignment
Gets or sets docking of HorizontalLineAnnotation
Methods
GetPropertiesFromIndex(int, DependencyProperty, DependencyProperty)
Used internally to derive the X1Property, Y1Property, X1Property, Y2Property pair for the given index around the annotation.. e.g. index 0 returns X1,Y1 index 1 returns X2,Y1 index 2 returns X2,Y2 index 3 returns X1,Y2
- index
- The index
- X
- Y
GetUsedAxis() : IAxis
Returns axis, which current annotation shows data value for
SetBasePoint(Point, int, IAxis, IAxis)
Called internally to marshal pixel points to X1,Y1,X2,Y2 values. Taking a pixel point () and base point , sets the X,Y data-values.
- newPoint
- The pixel point
- index
- The base point index, where 0, 1, 2, 3 refer to the four corners of an Annotation
- xAxis
- The current X-Axis
- yAxis
- The current Y-Axis
Fields
HorizontalAlignmentProperty : DependencyProperty
Defines the HorizontalAlignment Property
YDragStepProperty : DependencyProperty
Defines the YDragStep Property