CustomDrawSeriesEventArgsBase.LegendMarkerImage Property
Gets or sets the image of the legend item marker of the series or series point that is currently being painted.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v25.2.dll
NuGet Package: DevExpress.Charts
Declaration
Property Value
| Type | Description |
|---|---|
| Image | The image of the legend item marker. |
Remarks
Important
Use the e.DXLegendMarkerImage instead of LegendMarkerImage to specify an image in non-Windows environments.
If the image specified for this property is generated in the ChartControl.CustomDrawSeries (ChartControl.CustomDrawSeriesPoint) event and should be disposed after chart drawing, set the CustomDrawSeriesEventArgsBase.DisposeLegendMarkerImage property to true to avoid memory leaks.
See Also