IAnchorPointAnnotation

StockSharp.Xaml.Charting.Visuals.Annotations

Defines the interface to an Anchor-Point annotation, which is an IAnnotation which only has one X1,Y1 point. This annotation may be anchored around the coordinate using various alignmnets. See the HorizontalAnchorPoint and VerticalAnchorPoint properties for more information

Implements: IAnnotation, IHitTestable, IPublishMouseEvents, IXmlSerializable

Properties

HorizontalAnchorPoint
public HorizontalAnchorPoint HorizontalAnchorPoint { get; set; }
value = iAnchorPointAnnotation.HorizontalAnchorPoint
iAnchorPointAnnotation.HorizontalAnchorPoint = value

Gets or sets the HorizontalAnchorPoint. The value of Left means the X1,Y1 coordinate of the annotation is on the Left horizontally. The value of Center means the X1,Y1 coordinate of the annotation is at the center horizontally. The value of Right means the X1,Y1 coordinate of the annotation is at the right horizontally.

HorizontalOffset
public double HorizontalOffset { get; }
value = iAnchorPointAnnotation.HorizontalOffset

Gets the computed HorizontalOffset in pixels to apply to this annotation when placing

VerticalAnchorPoint
public VerticalAnchorPoint VerticalAnchorPoint { get; set; }
value = iAnchorPointAnnotation.VerticalAnchorPoint
iAnchorPointAnnotation.VerticalAnchorPoint = value

Gets or sets the VerticalAnchorPoint. The value of Top means the X1,Y1 coordinate of the annotation is on the Top vertically. The value of Center means the X1,Y1 coordinate of the annotation is at the center vertically. The value of Bottom means the X1,Y1 coordinate of the annotation is at the Bottom vertically.

VerticalOffset
public double VerticalOffset { get; }
value = iAnchorPointAnnotation.VerticalOffset

Gets the computed VerticalOffset in pixels to apply to this annotation when placing