XY-Diagram Custom Paint

  • v
  • v
  • v

The Random Points Generator chart showing RangomSeries series.
Clustering Settings
Labels 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.