Skip to main content

BootstrapChartSeriesBase.Aggregation Property

Configures data aggregation for the chart series.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
public BootstrapChartAggregationSettings Aggregation { get; }

Property Value

Type Description
BootstrapChartAggregationSettings

An object of the BootstrapChartAggregationSettings class.

Remarks

If a chart contains many series points, displaying all of them may lower its performance. In this case, it is better to aggregate the series points, or replace a group of them with a single point. The group includes only those points that fall within the same interval on the argument axis. Refer to BootstrapChartArgumentAxis.AggregationInterval and BootstrapChartArgumentAxis.AggregationGroupWidth for details on dividing the axis into intervals.

To enable data aggregation for the series, set the BootstrapChartAggregationSettings.Enabled property to true.

Additionally, the chart control provides several aggregation methods, which differ depending on the series type, and a capability to implement a custom aggregate function using the BootstrapChartAggregationSettings.OnCalculate property.

See Also