TcxGridChartPieDiagram.OnCustomDrawSeriesSiteCaption Event
Occurs every time a series site caption is about to be drawn.
Declaration
property OnCustomDrawSeriesSiteCaption: TcxGridChartPieDiagramSeriesSiteCaptionCustomDrawEvent read; write;
Remarks
The Sender
parameter provides access to the pie diagram whose series site caption is about to be drawn.
ACanvas
and AViewInfo
parameters provide access to the canvas and ViewInfo of the grid control. The bounding rectangle of the series site’s caption being painted can be obtained through the AViewInfo.Bounds
property. The series whose site is being painted can be accessed through the AViewInfo.Series
property.
As with other custom draw events, the ADone
parameter’s value is initially False
.
See Also