Shopping cart Download trialFree Trial

XY-Diagram Custom Paint

  • v
  • v
  • v

The Random Points Generator chart showing RangomSeries series.
 
Clustering Settings
Label Settings
Create Points

The following example demonstrates how to implement custom painting on an XY-Diagram. For this, the ChartControl.CustomPaint event and XYDiagram.DiagramToPoint method should be used.

In this demo, you see three clusters of points, and can select any of them. Also, you can turn the "Auto Mode" option off and manually select a region on a chart - in this case the custom cluster bounds will be painted on a diagram.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\XtraChartsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\XtraChartsDemos