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

ContinuousDateTimeScaleOptions.GridOffset Property

Gets or sets the offset of grid lines.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public double GridOffset { get; set; }

#Property Value

Type Description
Double

A Double value which specifies the grid offset.

#Property Paths

You can access this nested property as listed below:

Object Type Path to GridOffset
AxisY2D
.DateTimeScaleOptions .GridOffset
AxisY3D
.DateTimeScaleOptions .GridOffset
CircularAxisY2D
.DateTimeScaleOptions .GridOffset

#Remarks

By default, the ContinuousDateTimeScaleOptions.AutoGrid is true, and the GridOffset is set automatically. If you wish to change the grid offset, specify the GridOffset property value.

See Also