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

DisplayUnitOptions.Label Property

Gets the text of the display unit label.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

ChartText Label { get; }

#Property Value

Type Description
ChartText

A ChartText object representing the text displayed in the unit label of the value axis.

#Property Paths

You can access this nested property as listed below:

Object Type Path to Label
Axis
.DisplayUnits .Label

#Remarks

Utilize the Label property to specify the text displayed in the custom unit label defined by the DisplayUnitOptions.CustomUnit property. You can also use the Label property to change the standard text displayed in the unit label if you use one of the predefined display units specified by the DisplayUnitType enumeration. Note that Label property takes effect only when the DisplayUnitOptions.ShowLabel property is set to true.

Note

The Label property has no effect on the visual appearance of a chart when the document is loaded in the SpreadsheetControl. However, the property can be accessed in code, exported in supported formats and visualized in Microsoft Excel.

See Also