Skip to main content

TimeSpanFormat Enum

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
[TypeConverter(typeof(EnumTypeConverter))]
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