Back to Devexpress

DxPieChart<T>.LabelOverlap Property

blazor-devexpress-dot-blazor-dot-dxpiechart-1-116df696.md

latest1.5 KB
Original Source

DxPieChart<T>.LabelOverlap Property

Specifies how overlapping points are displayed.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
PieChartLabelOverlapShowAll

A PieChartLabelOverlap enumeration value.

|

Available values:

NameDescription
ShowAll

Shows all point labels.

| | Hide |

Hides overlapping point labels.

| | Shift |

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

|

Remarks

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

The following code snippet hides point labels that overlap:

razor
<DxPieChart Data="@SalesData" LabelOverlap="PieChartLabelOverlap.Hide">
    @*...*@
</DxPieChart>

See Also

DxPieChart<T> Class

DxPieChart<T> Members

DevExpress.Blazor Namespace