BuilderFactoryExtensions.BootstrapSparkline(BuilderFactory, String) Method
In This Article
Creates a Sparkline control with a specified name.
Namespace: DevExpress.AspNetCore
Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll
#Declaration
public static BootstrapSparklineBuilder BootstrapSparkline(
this BuilderFactory builderFactory,
string name
)
#Parameters
Name | Type | Description |
---|---|---|
builder |
Builder |
A Builder |
name | String | A control name. |
#Returns
Type | Description |
---|---|
Bootstrap |
A builder for a Sparkline control. |
#Remarks
IMPORTANT
Bootstrap Controls for ASP.
The code sample below demonstrates how you can use this method to create a Sparkline control.
cshtml
@(Html.DevExpress()
.BootstrapSparkline("sparklineWithJSON")
.ArgumentField("date")
.ValueField("sales")
.Bind("jsondata/simple.json"))
See Also