Skip to main content

DisplayUnitOptions.CustomUnit Property

Gets or sets the custom scaling value of the display units for the value axis.

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

double CustomUnit { get; set; }

Property Value

Type Description
Double

A Double value that specifies a custom value for the display units.

Property Paths

You can access this nested property as listed below:

Object Type Path to CustomUnit
Axis
.DisplayUnits .CustomUnit

Remarks

If the DisplayUnitOptions.UnitType property is set to DisplayUnitType.Custom, utilize the CustomUnit property to specify the scaling value for units displayed along the value axis. To add a label that describes these custom units, set the DisplayUnitOptions.ShowLabel property to true and use the DisplayUnitOptions.Label property to specify the text that should be displayed in the unit label.

See Also