DxChart<T>.LabelOverlap Property

Specifies how overlapping points are displayed.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
[DefaultValue(ChartLabelOverlap.ShowAll)]
public ChartLabelOverlap LabelOverlap { get; set; }

Property Value

Type Default Description
ChartLabelOverlap

ShowAll

One of the ChartLabelOverlap values.

Available values:

Name Description
ShowAll

Shows all point labels.

Hide

Hides overlapping point labels.

Stack

Shows point labels in a stack formation.

Remarks

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

The code below hides overlapping point labels.

<DxChart Data="@SalesData" LabelOverlap="ChartLabelOverlap.Hide">
    @*...*@
</DxChart>

Charts - Label overlap

Run Demo: Charts - Dynamic Series

See Also