Skip to main content

AxisX2D.DateTimeScaleOptions Property

Provides access to the options that define the behavior of a date-time X-scale when its mode is manual, automatic or continuous.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts


public DateTimeScaleOptionsBase DateTimeScaleOptions { get; set; }

Property Value

Type Description

A DateTimeScaleOptionsBase object.


Use the DateTimeScaleOptions property to access the options of the date-time argument axis (X-axis) when its mode is manual (ManualDateTimeScaleOptions), automatic (AutomaticDateTimeScaleOptions) or continuous (ContinuousDateTimeScaleOptions).


This code snippet shows how to access the automatic date time scale options for the X-axis scale and specify the aggregate function. The automatic options allow the chart control to automatically define the optimal unit of measure for an axis based on the input data, and the zoom level.

        Title="MainWindow" Height="350" Width="525">
                            <dxc:AutomaticDateTimeScaleOptions  AggregateFunction="Sum"/>

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


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.

See Also