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

TcxGridChartSeries.OnCustomDrawValue Event

In This Article

Occurs every time a data marker is about to be drawn.

#Declaration

Delphi
property OnCustomDrawValue: TcxGridChartSeriesValueCustomDrawEvent read; write;

#Remarks

The OnCustomDrawValue event occurs every time a data marker needs to be painted. As with other custom draw events it provides a canvas for the grid control (the ACanvas parameter), ViewInfo (the AViewInfo parameter and its Bounds property) to get the bounding rectangle of the painted element (in this case the data marker). Sender is usually the element that caused the repaint. The ADone parameter’s value is initially set to False. Set it to True to tell the grid that you have finished drawing the data marker of the series. In this case the diagram’s OnCustomDrawValue event for the series does not occur.

See Also