The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRChart.CustomPaint Event

Occurs after the chart has been drawn.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll

Declaration

public event CustomPaintEventHandler CustomPaint
Public Event CustomPaint As CustomPaintEventHandler

Event Data

The CustomPaint event handler receives an argument of the CustomPaintEventArgs type. The following properties provide information specific to this event.

Property Description
Bounds Gets the bounds of a custom graphic object.
Graphics Gets the custom graphic object.

Remarks

Use the CustomPaint event, to draw custom graphics over your chart.

For example, using the XYDiagram2D.DiagramToPoint and RadarDiagram.DiagramToPoint methods in the CustomPaint event handler, allows you to draw custom graphic objects tied to the existing chart elements (series, series points and so on).

The graphics drawn in the CustomPaint event handler will not affect 3D charts.

See Also