Skip to main content

SparklineBuilder.WinlossThreshold(Double) Method

Specifies a value that serves as a threshold for the sparkline of the winloss type. Mirrors the client-side winlossThreshold option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SparklineBuilder WinlossThreshold(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
SparklineBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().Sparkline()
    .WinlossThreshold(10)
)
See Also