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

Custom Draw Events

In This Article

This documents explains how to use the custom draw feature to change the appearance of chart series, series point, crosshair cursor and axis labels.

#Overview

The Chart Control for WinForms introduces the following events allowing you to modify the default drawing settings before the control draws its content.

The following images show the difference between custom drawn charts and those drawn by default. In the custom drawn chart, each legend marker of a series point contains the photo of a person whose sales statistics are shown.

The draw type The resulting image
The default draw DefaultDraw
The custom series draw CustomDraw

#Examples

For more information about custom draw events use, refer to the following examples.