This example demonstrates how to use the CustomDrawSeriesPoint event to modify the legend markers of nested donut series points.
Assign a custom legend marker to the LegendMarkerImage property. Set the DisposeLegendMarkerImage property to true
to avoid memory leaks. To customize options used to draw the series point, cast e.SeriesDrawOptions to the
DrawOptions class descendant that stores draw options of the required series view type.
- Form1.cs (VB: Form1.vb)
- Employee.cs (VB: Employee.vb)
- NwindDbContext.cs (VB: NwindDbContext.vb)
- Order.cs (VB: Order.vb)
- Chart for WinForms - How to Add Images for Legend Items
- Chart for WinForms - Draw a Custom Legend Marker for a Series
(you will be redirected to DevExpress.com to submit your response)