Back to Devexpress

IntervalTimeSpanScaleOptions.OverflowValue Property

wpf-devexpress-dot-xpf-dot-charts-dot-intervaltimespanscaleoptions-45ca9a40.md

latest3.9 KB
Original Source

IntervalTimeSpanScaleOptions.OverflowValue Property

Gets or sets the overflow interval’s start value.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public TimeSpan? OverflowValue { get; set; }
vb
Public Property OverflowValue As TimeSpan?

Property Value

TypeDescription
Nullable<TimeSpan>

The time-span value that specifies the overflow interval’s start value.

|

Example

This example shows how to display intervals on the x-axis:

The example uses the following API members:

MemberDescription
IntervalTimeSpanScaleOptionsStores options for the time-span x-axis whose scale is divided into intervals.
ManualTimeSpanScaleOptions.AggregateFunctionGets or sets the function that is used to aggregate time-span data associated with the axis.
OverflowValueGets or sets the overflow interval’s start value.
UnderflowValueGets or sets the underflow interval’s end value.
PatternGets or sets a format string that configures text for the axis label and crosshair label.
OverflowValuePatternGets or sets a format string that configures text for the overflow interval axis label and crosshair label.
UnderflowValuePatternGets or sets a format string that configures text for the overflow interval axis label and crosshair label.
xaml
<dxc:XYDiagram2D.AxisX>
    <dxc:AxisX2D>
        <dxc:AxisX2D.TimeSpanScaleOptions>
            <dxc:IntervalTimeSpanScaleOptions AggregateFunction="Average" 
                                              Pattern="{}{A1:dd\.hh\:mm}-{A2:dd\.hh\:mm}" 
                                              UnderflowValue="0.06:00:00" 
                                              UnderflowValuePattern="{}{US}{A2:hh\:mm}"
                                              OverflowValue="1.12:00:00" 
                                              OverflowValuePattern="{}{OS}{A1:dd\.hh\:mm\:ss}"/>
        </dxc:AxisX2D.TimeSpanScaleOptions>                        
    </dxc:AxisX2D>
</dxc:XYDiagram2D.AxisX>

See Also

IntervalTimeSpanScaleOptions Class

IntervalTimeSpanScaleOptions Members

DevExpress.Xpf.Charts Namespace