RangeSelectorScaleBuilder.AggregationGroupWidth(JS) Method
In This Article
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
C#
public RangeSelectorScaleBuilder AggregationGroupWidth(
JS value
)
#Parameters
Name | Type | Description |
---|---|---|
value | JS | A Java |
#Returns
Type | Description |
---|---|
Range |
A reference to this instance after the method is called. |
#Remarks
Use the new JS() expression to set the option’s value.
<script>
var myValue = ...;
</script>
@(Html.DevExtreme().RangeSelector()
.Scale(scale => scale
.AggregationGroupWidth(new JS("myValue"))
)
)
See Also