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

TcxGridChartDiagram.OnCustomDrawValueCaption Event

In This Article

Allows you to override the default draw routine for chart value captions.

#Declaration

Delphi
property OnCustomDrawValueCaption: TcxGridChartDiagramValueCaptionCustomDrawEvent read; write;

#Remarks

The OnCustomDrawValueCaption event occurs every time a chart value is about to be drawn.

The Sender parameter provides access to the chart value’s parent diagram.

AViewInfo provides access to ViewInfo information about the chart value.

ACanvas specifies the drawing surface.

ADone specifies whether default painting is required. Set ADone to True, to disable the built-in draw routine.

See Also