TTMSFNCChartDrawSlice Record
Describes a pie or spider slice passed to
OnBeforeDrawSerieSliceandOnAfterDrawSerieSlice.
API unit family: TMSFNCChart
Syntax
TTMSFNCChartDrawSlice = record
Fields and properties
| Name | Type | Description |
|---|---|---|
AnimateEndPoint |
Boolean |
When True, the animation drives the end point instead of the sweep angle. |
CenterPoint |
TPointF |
Center of the pie or spider chart in canvas pixels. |
DoAnimation |
Boolean |
When True, this draw call is part of an animation frame. |
EndPoint |
TPointF |
End point of the slice arc on the circle perimeter. |
InnerRadius |
TPointF |
Inner radius for donut charts; zero for solid pie slices. |
Radius |
TPointF |
Outer radius of the slice as (x-radius, y-radius) for elliptical pies. |
Reference |
TTMSFNCChartPoint |
Chart point for this slice, or nil in virtual mode. |
StartAngle |
Double |
Start angle of the slice in degrees, measured clockwise from the top. |
StartPoint |
TPointF |
Start point of the slice arc on the circle perimeter. |
SweepAngle |
Double |
Angular span of the slice in degrees. |
VirtualReference |
TTMSFNCChartPointVirtual |
Virtual point data when the chart is in virtual mode. |