Skip to main content

TcxGridChartPieDiagram.OnCustomDrawSeriesSiteCaption Event

Occurs when a series site‘s caption needs to be painted.

Declaration

property OnCustomDrawSeriesSiteCaption: TcxGridChartPieDiagramSeriesSiteCaptionCustomDrawEvent read; write;

Remarks

The Sender parameter provides access to the pie diagram that caused the series site’s caption to be repainted.

The 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 via the AViewInfo.Bounds property. The series whose site is being painted can be accessed via the AViewInfo.Series property.

As with other custom drawing events, the ADone parameter’s value is initially False.

To learn more about custom draw, refer to the Custom Draw topic.

See Also