TTMSFNCChartDrawAnnotation Record
Describes an annotation being drawn, passed to
OnBeforeDrawSerieAnnotationandOnAfterDrawSerieAnnotation.
API unit family: TMSFNCChart
Syntax
TTMSFNCChartDrawAnnotation = record
Fields and properties
| Name | Type | Description |
|---|---|---|
AnnotationPoint |
TPointF |
Center of the annotation box in canvas pixels. |
AnnotationReference |
TTMSFNCChartAnnotation |
The TTMSFNCChartAnnotation being drawn, or nil in virtual mode. |
PointReference |
TTMSFNCChartPoint |
Chart point the annotation is attached to, or nil in virtual mode. |
Rect |
TRectF |
Bounding rectangle of the annotation box. |
StartPoint |
TPointF |
Base of the leader line at the data point in canvas pixels. |
TextHeight |
Double |
Pixel height of the rendered annotation text. |
TextWidth |
Double |
Pixel width of the rendered annotation text. |
VirtualAnnotationReference |
TTMSFNCChartAnnotationVirtual |
Virtual annotation data when the chart is in virtual mode. |
VirtualPointReference |
TTMSFNCChartPointVirtual |
Virtual point data for the attachment point when in virtual mode. |