Back to Devexpress

SparklineBuilder.IgnoreEmptyPoints(Boolean) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-sparklinebuilder-dot-ignoreemptypoints-x28-system-dot-boolean-x29.md

latest1.3 KB
Original Source

SparklineBuilder.IgnoreEmptyPoints(Boolean) Method

Specifies whether the sparkline should ignore null data points. Mirrors the client-side ignoreEmptyPoints option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public SparklineBuilder IgnoreEmptyPoints(
    bool value
)

Parameters

NameTypeDescription
valueBoolean

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()
    .IgnoreEmptyPoints(true)
)

See Also

SparklineBuilder Class

SparklineBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace