DevExtreme v23.1 is now available.
Explore our newest features/capabilities and share your thoughts with us.
To aggregate points on discrete axes, follow the steps below:
Enable aggregation.
You can enable data aggregation for the following series:
Individual series
Assign true
to the series.aggregation.enabled property.
All series of a specific type
Assign true
to the aggregaion.enabled
property that belongs to the configuration object of a specific series type.
All series in the Chart
Assign true
to the commonSeriesSettings.aggregation.enabled property.
Individual series aggregation settings have priority over common aggregation settings in the component. For example, you can enable aggregation for all series and disable it for a specific series.
In this demo, data aggregation is enabled for all series.
sum
method is used.