Back to Devexpress

XRChart.CustomDrawAxisLabel Event

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrchart-fb26dca4.md

latest1.9 KB
Original Source

XRChart.CustomDrawAxisLabel Event

Occurs before an axis label is drawn when the chart’s content is being drawn.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public event CustomDrawAxisLabelEventHandler CustomDrawAxisLabel
vb
Public Event CustomDrawAxisLabel As CustomDrawAxisLabelEventHandler

Event Data

The CustomDrawAxisLabel event's data class is CustomDrawAxisLabelEventArgs. The following properties provide information specific to this event:

PropertyDescription
ItemProvides access to individual axis label items.

Remarks

The CustomDrawAxisLabel event is raised before every axis label item is painted, allowing you to individually adjust the appearance of axis labels (e.g. based on a certain criteria for their values). The event parameter’s Item property provides access to an axis label item’s value and specific options.

To learn more, refer to the Axis Labels document in XtraCharts documentation.

See Also

XRChart Class

XRChart Members

DevExpress.XtraReports.UI Namespace