Skip to main content
All docs
V24.1

DxPolarChartBaseSeries<T, TArgument, TValue>.BreakOnEmptyPoints Property

Specifies whether the series should break on points with null values.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public bool BreakOnEmptyPoints { get; set; }

Property Value

Type Description
Boolean

true to break the series on null points; otherwise, false.

Remarks

The default series does not render empty (null) values. The following image displays a series when the March argument has the null value (the corresponding series point is omitted):

Ignore empty points

Set the BreakOnEmptyPoints property to true to remove polyline segments that correspond to points with null values.

The following code snippet demonstrates a break at the null value on the same dataset used in the example above:

Empty Point Break

<DxPolarChart Data="@DataSource">
    <DxPolarChartLineSeries ArgumentField="@((DiscretePoint i) => i.Arg)"
                            ValueField="@((DiscretePoint i) => i.Day)"
                            BreakOnEmptyPoints="true">
    </DxPolarChartLineSeries>
</DxPolarChart>

@code {
    IEnumerable<DiscretePoint> DataSource = Enumerable.Empty<DiscretePoint>();

    protected override void OnInitialized () {
        DataSource = ChartDiscreteDataProvider.GenerateData();
    }
}
See Also