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>.MaxLabelCount Property

Limits the maximum number of visible point labels in the series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public int MaxLabelCount { get; set; }

#Property Value

Type Description
Int32

The point labels number.

#Remarks

Declare the DxChartSeriesLabel object in the series markup and set the object’s Visible property to true to display point labels.

You can use the MaxLabelCount to limit the number of displayed labels. If the number of visible labels exceeds the MaxLabelCount value, the series hides all labels. Use this property to avoid a cluttered chart display.

The following example sets MaxLabelCount to 15:

Razor
<DxPolarChart Data=@DataSource>
    <DxPolarChartLineSeries ArgumentField="@((DiscretePoint i) => i.Arg)"
                            ValueField="@((DiscretePoint i) => i.Day)"
                            MaxLabelCount="15">
        <DxChartSeriesLabel Visible="true" />
    </DxPolarChartLineSeries>
</DxPolarChart>
See Also