Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxPolarChartBaseSeries<T, TArgument, TValue>.BreakOnEmptyPoints Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[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