This example uses date-time scale modes of an axis (both manual and automatic).
The data aggregation is enabled automatically for the date-time scale on the X-axis in both manual (default mode) and automatic scale modes.
When the ScaleOptionsBase.ScaleMode property is set to Manual
, you can manually define the DateTimeScaleOptions.GridAlignment, DateTimeScaleOptions.MeasureUnit, and ScaleGridOptionsBase.AggregateFunction properties.
To use the automatic date-time scale mode, set the ScaleOptionsBase.ScaleMode property to Automatic
and choose the appropriate ScaleGridOptionsBase.AggregateFunction.
If you wish axis scale is not divided into intervals and therefore aggregation cannot be applied to chart data, set the ScaleOptionsBase.ScaleMode property to Continuous
.
(you will be redirected to DevExpress.com to submit your response)