Skip to main content

ChartArgumentAxisBuilder.AggregateByCategory(Boolean) Method

OBSOLETE

This Method is obsolete now.

Aggregates series points that fall into the same category. Mirrors the client-side aggregateByCategory option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

[Obsolete("")]
public ChartArgumentAxisBuilder AggregateByCategory(
    bool value
)

Parameters

Name Type Description
value Boolean

The option value.

Returns

Type Description
ChartArgumentAxisBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().Chart()
    .ArgumentAxis(axis => axis
        .AggregateByCategory(true)
    )
)
See Also