RangeSelectorChartBuilder.BarGroupWidth(Double) Method
Specifies a fixed width for groups of bars with the same argument, measured in pixels. Takes precedence over the barGroupPadding property. Mirrors the client-side barGroupWidth option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public RangeSelectorChartBuilder BarGroupWidth(
double value
)
Parameters
Name | Type | Description |
---|---|---|
value | Double | The option value. |
Returns
Type | Description |
---|---|
RangeSelectorChartBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().RangeSelector()
.Chart(chart => chart
.BarGroupWidth(100)
)
)
See Also