Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public event CustomDrawAxisLabelEventHandler CustomDrawAxisLabel

#Event Data

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

Property Description
Item Provides 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