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