Back to Devexpress

NumericScaleOptions.GridAlignment Property

corelibraries-devexpress-dot-xtracharts-dot-numericscaleoptions-c0c1e542.md

latest3.3 KB
Original Source

NumericScaleOptions.GridAlignment Property

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

Declaration

csharp
public NumericGridAlignment GridAlignment { get; set; }
vb
Public Property GridAlignment As NumericGridAlignment

Property Value

TypeDescription
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:

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath to GridAlignment
AxisBase

.NumericScaleOptions .GridAlignment

|

Remarks

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

NumericScaleOptions Class

NumericScaleOptions Members

DevExpress.XtraCharts Namespace