Skip to main content

ManualNumericScaleOptions.GridAlignment Property

Gets or sets the numeric value to which the beginning of the grid lines and axis labels of an axis should be aligned.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

[XtraSerializableProperty]
public double GridAlignment { get; set; }

#Property Value

Type Description
Double

A Double value to which the beginning of the gridlines and labels of an axis should be aligned.

#Remarks

This property is available when one of the NumericScaleOptions properties (e.g., AxisX2D.NumericScaleOptions property) is set to ManualNumericScaleOptions.

The table below shows the GridAlignment property in action for random data.

GridAlignment = 1000, MeasureUnit=100 GridAlignment = 10000, MeasureUnit=100
NumericScaleOptions_GridAlignment1000 NumericScaleOptions_GridAlignment10000

To maintain numeric values at different detail levels, use the ManualNumericScaleOptions.MeasureUnit property.

See Also