IAnnotationData

StockSharp.Charting

Used to transfer annotation draw data.

Properties

CoordinateMode
public AnnotationCoordinateMode? CoordinateMode { get; set; }
value = iAnnotationData.CoordinateMode
iAnnotationData.CoordinateMode = value

Coordinate mode. Absolute means DateTime for X and Decimal price for Y. Relative means relative to the screen edges: double. 0=top/left, 0.5=center, 1=bottom/right

Fill
public Brush Fill { get; set; }
value = iAnnotationData.Fill
iAnnotationData.Fill = value

Brush to fill background.

Foreground
public Brush Foreground { get; set; }
value = iAnnotationData.Foreground
iAnnotationData.Foreground = value

Text color.

HorizontalAlignment
public HorizontalAlignment? HorizontalAlignment { get; set; }
value = iAnnotationData.HorizontalAlignment
iAnnotationData.HorizontalAlignment = value

Alignment for horizontal lines.

IsEditable
public bool? IsEditable { get; set; }
value = iAnnotationData.IsEditable
iAnnotationData.IsEditable = value

Whether user can edit annotation.

IsVisible
public bool? IsVisible { get; set; }
value = iAnnotationData.IsVisible
iAnnotationData.IsVisible = value

Show/hide annotation.

LabelPlacement
public LabelPlacement? LabelPlacement { get; set; }
value = iAnnotationData.LabelPlacement
iAnnotationData.LabelPlacement = value

Label placement for horizontal and vertical lines.

ShowLabel
public bool? ShowLabel { get; set; }
value = iAnnotationData.ShowLabel
iAnnotationData.ShowLabel = value

Turn on/off label show for horizontal and vertical lines.

Stroke
public Brush Stroke { get; set; }
value = iAnnotationData.Stroke
iAnnotationData.Stroke = value

Brush to draw lines and borders.

Text
public string Text { get; set; }
value = iAnnotationData.Text
iAnnotationData.Text = value

Text for text annotation.

Thickness
public Thickness? Thickness { get; set; }
value = iAnnotationData.Thickness
iAnnotationData.Thickness = value

Line thickness.

VerticalAlignment
public VerticalAlignment? VerticalAlignment { get; set; }
value = iAnnotationData.VerticalAlignment
iAnnotationData.VerticalAlignment = value

Alignment for vertical lines.

X1
public IComparable X1 { get; set; }
value = iAnnotationData.X1
iAnnotationData.X1 = value

X1 coordinate for annotation drawing. DateTime for coordinate mode Absolute or RelativeY. Double otherwise.

X2
public IComparable X2 { get; set; }
value = iAnnotationData.X2
iAnnotationData.X2 = value

X2 coordinate for annotation drawing. DateTime for coordinate mode Absolute or RelativeY. Double otherwise.

Y1
public IComparable Y1 { get; set; }
value = iAnnotationData.Y1
iAnnotationData.Y1 = value

Y1 coordinate for annotation drawing. Decimal for coordinate mode Absolute or RelativeX. Double otherwise.

Y2
public IComparable Y2 { get; set; }
value = iAnnotationData.Y2
iAnnotationData.Y2 = value

Y2 coordinate for annotation drawing. Decimal for coordinate mode Absolute or RelativeX. Double otherwise.