This example demonstrates how to use manual date-time scale options of an X-axis.
The data aggregation is enabled automatically for the date-time scale on the X-axis in manual scale options.
When the Axis.DateTimeScaleOptions property is set to ManualDateTimeScaleOptions you can manually define ManualDateTimeScaleOptions.GridAlignment, ManualDateTimeScaleOptions.MeasureUnit, and ManualDateTimeScaleOptions.AggregateFunction properties.
To use the automatic date-time scale options, set the AxisX.DateTimeScaleOptions property to AutomaticDateTimeScaleOptions and choose the appropriate AutomaticDateTimeScaleOptions.AggregateFunction.
If you wish the axis scale to not be divided into intervals, and therefore aggregation cannot be applied to chart data, set the ManualDateTimeScaleOptions.AggregateFunction property to None.