CWAnnotation
The CWAnnotation object displays text, a shape, and/or an arrow on a CWGraph to mark a specific point or region on the graph or highlight something programmatically. CWAnnotation properties define the position and appearance of the annotation. The annotation position corresponds either to the coordinate space of the associated plot or to the screen coordinates of the CWGraph control.
To interact with the annotations while the program is running, set the TrackMode property to cwGTrackDragAnnotation.
Properties
Arrow | Returns a CWArrow object, which specifies the arrow part of the annotation. |
Caption | Returns a CWCaption object, which specifies the text part of the annotation. |
CoordinateType | Specifies how the text and shape coordinates are scaled when the annotation is drawn. |
Enabled | Specifies if the CWAnnotation generates mouse events or if you can drag the annotation. |
Name | Specifies the name of the annotation. |
Plot | Specifies the plot that the annotation is associated with. |
PointIndex | Specifies the index of a plot point to center the shape around. |
Shape | Returns a CWShape object, which specifies the shape part of the annotation. |
SnapMode | Specifies if the annotation's shape is centered around the plot point defined by the Plot and PointIndex properties and how the shape is dragged by the mouse. |
Visible | Specifies if an annotation is visible. |
Methods
SetBuiltinStyle | Sets many properties of the annotation to represent the new style specified. |