Skip to main content

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

ChartLabelOverlap Enum

Lists values that specify how a chart displays point labels if they overlap.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public enum ChartLabelOverlap

#Members

Name Description
ShowAll

Shows all point labels.

Hide

Hides overlapping point labels.

Stack

Shows point labels in a stack formation. Applicable to series points that have the same argument.

#Related API Members

The following properties accept/return ChartLabelOverlap values:

#Remarks

Use the LabelOverlap property to specify how the chart resolves overlapping labels.

The following code snippet hides overlapping point labels:

Razor
<DxChart Data="@SalesData" LabelOverlap="ChartLabelOverlap.Hide">
    @*...*@
    <DxChartBarSeries Settings="@settings">
        <DxChartSeriesLabel Visible="true" />
    </DxChartBarSeries>
</DxChart>

Charts - Label overlap

Run Demo: Charts - Dynamic Series

See Also