Skip to main content
All docs
V25.1
  • DxPolarChartBaseSeries<T, TArgument, TValue>.MaxLabelCount Property

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

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

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

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