ChartBuilder.BarGroupWidth(Double) Method
In This Article
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
C#
public ChartBuilder BarGroupWidth(
double value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Double | The option value. |
#Returns
Type | Description |
---|---|
Chart |
A reference to this instance after the method is called. |
#Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().Chart()
.BarGroupWidth(100)
)
See Also