Back to Devexpress

ContinuousDateTimeScaleOptions Class

wpf-devexpress-dot-xpf-dot-charts-e4a5075f.md

latest4.1 KB
Original Source

ContinuousDateTimeScaleOptions Class

Contains settings for a date-time axis data when its scale mode is continuous.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public class ContinuousDateTimeScaleOptions :
    DateTimeScaleOptionsBase
vb
Public Class ContinuousDateTimeScaleOptions
    Inherits DateTimeScaleOptionsBase

The following members return ContinuousDateTimeScaleOptions objects:

Remarks

An object of the ContinuousDateTimeScaleOptions type is returned by the AxisX2D.DateTimeScaleOptions, AxisX3D.DateTimeScaleOptions, and RadarAxisX2D.DateTimeScaleOptions properties.

In the continuous mode, an axis scale is not divided into intervals, and therefore aggregation cannot be applied to chart data. You can customize the axis grid using the ContinuousDateTimeScaleOptions.GridAlignment, ContinuousDateTimeScaleOptions.GridOffset and ContinuousDateTimeScaleOptions.GridSpacing properties.

To learn more, see Data Aggregation.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ContinuousDateTimeScaleOptions class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-bind-a-range-control-to-a-chart-control/CS/GoldPrices/MainWindow.xaml#L42

xml
<dxc:AxisX2D.DateTimeScaleOptions>
    <dxc:ContinuousDateTimeScaleOptions WorkdaysOnly="True"
                                        AutoGrid="True"/>

wpf-charts-create-real-time-chart/CS/RealtimeChartMVVM/MainWindow.xaml#L33

xml
<dxc:AxisX2D.DateTimeScaleOptions>
    <dxc:ContinuousDateTimeScaleOptions/>
</dxc:AxisX2D.DateTimeScaleOptions>

Inheritance

Object DispatcherObject DependencyObject Freezable ChartDependencyObject ScaleOptionsBase DateTimeScaleOptionsBase ContinuousDateTimeScaleOptions

See Also

ContinuousDateTimeScaleOptions Members

DevExpress.Xpf.Charts Namespace