Skip to main content

RangeSelectorScaleBuilder.AggregationGroupWidth(Double) Method

Specifies the length of aggregation intervals in pixels. Does not apply if aggregateByCategory is true. May be ignored in favor of the aggregationInterval property. Mirrors the client-side aggregationGroupWidth option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public RangeSelectorScaleBuilder AggregationGroupWidth(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
RangeSelectorScaleBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().RangeSelector()
    .Scale(scale => scale
        .AggregationGroupWidth(100)
    )
)
See Also