Skip to main content

AutomaticDateTimeScaleOptions Class

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

Namespace: DevExpress.Xpf.Charts

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

#Declaration

public class AutomaticDateTimeScaleOptions :
    DateTimeScaleOptionsBase

#Remarks

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

In the Automatic scale mode, the Chart control automatically defines the most optimal unit of measure for an axis based on the input data, the current chart control size and the zoom level.

Data for each interval on the X-axis is aggregated using the function specified by the AutomaticDateTimeScaleOptions.AggregateFunction property. Although by default, aggregate function is set to Average, it can be changed to Minimum, Maximum, Sum, etc.

See Also