All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

IntervalTimeSpanScaleOptions Class

Stores options for the time-span x-axis whose scale is divided into intervals.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll

Declaration

public class IntervalTimeSpanScaleOptions :
    ManualTimeSpanScaleOptions
Public Class IntervalTimeSpanScaleOptions
    Inherits ManualTimeSpanScaleOptions

Remarks

Use the IntervalTimeSpanScaleOptions class to specify the TimeSpanScaleOptions property.

The IntervalTimeSpanScaleOptions class introduces the following properties:

Examples

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

The example uses the following API members:

Member Description
IntervalTimeSpanScaleOptions Stores options for the time-span x-axis whose scale is divided into intervals.
ManualTimeSpanScaleOptions.AggregateFunction Gets or sets the function that is used to aggregate time-span data associated with the axis.
OverflowValue Gets or sets the overflow interval's start value.
UnderflowValue Gets or sets the underflow interval's end value.
Pattern Gets or sets a format string that configures text for the axis label and crosshair label.
OverflowValuePattern Gets or sets a format string that configures text for the overflow interval axis label and crosshair label.
UnderflowValuePattern Gets or sets a format string that configures text for the overflow interval axis label and crosshair label.
<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