Skip to main content
A newer version of this page is available. .

DisplayUnitOptions.Label Property

Gets the text of the display unit label.

Namespace: DevExpress.Spreadsheet.Charts

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

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