Skip to main content

RangePointOptions.ValueDurationFormat Property

Gets or sets the format to display the series point values as durations for one of the range series views.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraSerializableProperty]
public TimeSpanFormat ValueDurationFormat { get; set; }

Property Value

Type Description
TimeSpanFormat

A TimeSpanFormat enumeration value.

Available values:

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.

Remarks

The RangePointOptions.ValueAsDuration property specifies whether the series point displays a pair of values, or a single duration value. If the ValueAsDuration is set to true, the format specified by the ValueDurationFormat property is used to display the differences of the series point values for the Range Series’s data point.

See Also