Skip to main content
A newer version of this page is available. .

TimeSpanFormat Enum

Lists the measurement units and formats used to express the date-time range value.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum TimeSpanFormat

Members

Name Description
Standard

Specifies a standard format for a time span representation. It is a string of the following form: “[-][d.]hh:mm:ss[.ff]”

TotalDays

Specifies the time span value expressed in whole and fractional days.

TotalHours

Specifies the time span value expressed in whole and fractional hours.

TotalMinutes

Specifies the time span value expressed in whole and fractional minutes.

TotalSeconds

Specifies the time span value expressed in whole and fractional seconds.

TotalMilliseconds

Specifies the time span value expressed in whole and fractional milliseconds.

Related API Members

The following properties accept/return TimeSpanFormat values:

Remarks

A TimeSpanFormat value affects the text and format of a RangeBarSeriesLabel to be displayed when RangePointOptions.ValueAsDuration is set to true.

See Also