Back to Devexpress

SparklineBuilder.LineWidth(Double) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-sparklinebuilder-dot-linewidth-x28-system-dot-double-x29.md

latest1.3 KB
Original Source

SparklineBuilder.LineWidth(Double) Method

Specifies a width for a line on a sparkline. Available for the sparklines of the line- and area-like types. Mirrors the client-side lineWidth option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public SparklineBuilder LineWidth(
    double value
)

Parameters

NameTypeDescription
valueDouble

The option value.

|

Returns

TypeDescription
SparklineBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().Sparkline()
    .LineWidth(100)
)

See Also

SparklineBuilder Class

SparklineBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace