Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to use manual date-time scale options of an Axis

$
0
0

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.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>