Skip to main content

AutomaticDateTimeScaleOptions.AggregateFunction Property

Gets or sets the function that is used to aggregate date-time axis data when one of the AxisX2D.DateTimeScaleOptions, or RadarAxisX2D.DateTimeScaleOptions properties is set to AutomaticDateTimeScaleOptions.

Namespace: DevExpress.Xpf.Charts

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

#Declaration

[XtraSerializableProperty]
public AggregateFunction AggregateFunction { get; set; }

#Property Value

Type Description
AggregateFunction

An AggregateFunction enumeration value.

#Remarks

The image below shows date-time data aggregation in the Automatic scale mode using the Sum function.

SumAggregateFunction

NOTE

The AggregateFunction property is set to AggregateFunction.Average by default.

To disable date-time data aggregation, set the AggregateFunction property to AggregateFunction.None.

See Also