BuilderFactoryExtensions.BootstrapSparkline(BuilderFactory) Method
In This Article
Creates a Sparkline control.
Namespace: DevExpress.AspNetCore
Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll
#Declaration
public static BootstrapSparklineBuilder BootstrapSparkline(
this BuilderFactory builderFactory
)
#Parameters
Name | Type | Description |
---|---|---|
builder |
Builder |
A Builder |
#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()
.ArgumentField("date")
.ValueField("sales")
.Bind("jsondata/simple.json"))
See Also