Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridChartPieDiagram.OnCustomDrawSeriesSiteCaption Event

In This Article

Occurs every time a series site caption is about to be drawn.

#Declaration

Delphi
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