Interface IAnnotationData
- Namespace
- StockSharp.Charting
- Assembly
- StockSharp.Charting.Interfaces.dll
Used to transfer annotation draw data.
public interface IAnnotationData
- Extension Methods
Properties
CoordinateMode
Coordinate mode. Absolute means DateTimeOffset for X and decimal price for Y. Relative means relative to the screen edges: double. 0=top/left, 0.5=center, 1=bottom/right
AnnotationCoordinateMode? CoordinateMode { get; set; }
Property Value
Fill
Brush to fill background.
Brush Fill { get; set; }
Property Value
- Brush
Foreground
Brush to fill background.
Brush Foreground { get; set; }
Property Value
- Brush
HorizontalAlignment
Alignment for horizontal lines.
HorizontalAlignment? HorizontalAlignment { get; set; }
Property Value
- HorizontalAlignment?
IsEditable
Whether user can edit annotation.
bool? IsEditable { get; set; }
Property Value
- bool?
IsVisible
Show/hide annotation.
bool? IsVisible { get; set; }
Property Value
- bool?
LabelPlacement
Label placement for horizontal and vertical lines.
LabelPlacement? LabelPlacement { get; set; }
Property Value
ShowLabel
Turn on/off label show for horizontal and vertical lines.
bool? ShowLabel { get; set; }
Property Value
- bool?
Stroke
Brush to draw lines and borders.
Brush Stroke { get; set; }
Property Value
- Brush
Text
Text for text annotation.
string Text { get; set; }
Property Value
Thickness
Line thickness.
Thickness? Thickness { get; set; }
Property Value
- Thickness?
VerticalAlignment
Alignment for vertical lines.
VerticalAlignment? VerticalAlignment { get; set; }
Property Value
- VerticalAlignment?
X1
X1 coordinate for annotation drawing. DateTimeOffset for coordinate mode Absolute or RelativeY. double otherwise.
IComparable X1 { get; set; }
Property Value
X2
X2 coordinate for annotation drawing. DateTimeOffset for coordinate mode Absolute or RelativeY. double otherwise.
IComparable X2 { get; set; }
Property Value
Y1
Y1 coordinate for annotation drawing. decimal for coordinate mode Absolute or RelativeX. double otherwise.
IComparable Y1 { get; set; }
Property Value
Y2
Y2 coordinate for annotation drawing. decimal for coordinate mode Absolute or RelativeX. double otherwise.
IComparable Y2 { get; set; }