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

TimeSpanGridAlignment Enum

Lists the values that specify the time-span measurement unit to which the beginning of a diagram’s gridlines and labels should be aligned.

Namespace: DevExpress.Xpf.Charts.RangeControlClient

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public enum TimeSpanGridAlignment

#Members

Name Description
Millisecond

Specifies a millisecond as the time-span unit to which axis grid lines should be aligned.

Second

Specifies a second as the time-span unit to which axis grid lines should be aligned.

Minute

Specifies a minute as the time-span unit to which axis grid lines should be aligned.

Hour

Specifies an hour as the time-span unit to which axis grid lines should be aligned.

Day

Specifies a day as the time-span unit to which axis gridlines should be aligned.

Auto

The time-span unit to which axis gridlines should be aligned is calculated automatically.

#Related API Members

The following properties accept/return TimeSpanGridAlignment values:

#Remarks

Use the TimeSpanGridAlignment enumeration values to set the TimeSpanChartRangeControlClient.GridAlignment property.

See Also