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 |
|
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):
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:
<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