corelibraries-devexpress-dot-xtracharts-dot-numericscaleoptions-c0c1e542.md
Gets or sets the numeric measure unit to which the beginning of an axis’ gridlines and labels should be aligned.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public NumericGridAlignment GridAlignment { get; set; }
Public Property GridAlignment As NumericGridAlignment
| Type | Description |
|---|---|
| NumericGridAlignment |
A NumericGridAlignment enumeration value that represents the measurement unit to which the beginning of an axis’s gridlines and labels should be aligned.
|
Available values:
| Name | Description |
|---|---|
| Ones |
Specifies ones as the numeric unit to which axis gridlines should be aligned.
| | Tens |
Specifies tens as the numeric unit to which axis gridlines should be aligned.
| | Hundreds |
Specifies hundreds as the numeric unit to which axis gridlines should be aligned.
| | Thousands |
Specifies thousands as the numeric unit to which axis gridlines should be aligned.
| | Millions |
Specifies millions as the numeric unit to which axis gridlines should be aligned.
| | Billions |
Specifies billions as the numeric unit to which axis gridlines should be aligned.
| | Custom |
The numeric unit to which axis gridlines should be aligned is specified by the NumericScaleOptions.CustomGridAlignment property.
|
You can access this nested property as listed below:
| Object Type | Path to GridAlignment |
|---|---|
| AxisBase |
.NumericScaleOptions .GridAlignment
|
This property is available when the SeriesBase.ArgumentScaleType is set to either Auto or Numeric , the SeriesBase.ValueScaleType property is set to Numeric , and the ScaleOptionsBase.ScaleMode property is set to Manual.
To maintain numeric values at different detail levels, use the NumericScaleOptions.MeasureUnit property.
See Also