Click or drag to resize

ChartDrawDataAnnotationData Class

Used to transfer annotation draw data.
Inheritance Hierarchy
SystemObject
  StockSharp.Xaml.ChartingChartDrawDataAnnotationData

Namespace:  StockSharp.Xaml.Charting
Assembly:  StockSharp.Xaml.Charting (in StockSharp.Xaml.Charting.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public class AnnotationData : ChartDrawDataIDrawValue, 
	IPersistable

The ChartDrawDataAnnotationData type exposes the following members.

Constructors
  NameDescription
Public methodChartDrawDataAnnotationData
Initializes a new instance of the ChartDrawDataAnnotationData class
Top
Properties
  NameDescription
Public propertyCoordinateMode
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
Public propertyFill
Brush to fill background.
Public propertyForeground
Brush to fill background.
Public propertyHorizontalAlignment
Alignment for horizontal lines.
Public propertyIsEditable
Whether user can edit annotation.
Public propertyIsVisible
Show/hide annotation.
Public propertyLabelPlacement
Label placement for horizontal and vertical lines.
Public propertyShowLabel
Turn on/off label show for horizontal and vertical lines.
Public propertyStroke
Brush to draw lines and borders.
Public propertyText
Text for text annotation.
Public propertyThickness
Line thickness.
Public propertyVerticalAlignment
Alignment for vertical lines.
Public propertyX1
X1 coordinate for annotation drawing. DateTimeOffset for coordinate mode Absolute or RelativeY. Double otherwise.
Public propertyX2
X2 coordinate for annotation drawing. DateTimeOffset for coordinate mode Absolute or RelativeY. Double otherwise.
Public propertyY1
Y1 coordinate for annotation drawing. Decimal for coordinate mode Absolute or RelativeX. Double otherwise.
Public propertyY2
Y2 coordinate for annotation drawing. Decimal for coordinate mode Absolute or RelativeX. Double otherwise.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Load settings.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave
Save settings.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also