BootstrapPieChart.ResolveLabelOverlapping Property

Specifies options for displaying the overlapping labels.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v19.2.dll

Declaration

[DefaultValue(PieChartResolveLabelOverlapping.None)]
public PieChartResolveLabelOverlapping ResolveLabelOverlapping { get; set; }
<DefaultValue(PieChartResolveLabelOverlapping.None)>
Public Property ResolveLabelOverlapping As PieChartResolveLabelOverlapping

Property Value

Type Default Description
PieChartResolveLabelOverlapping

None

A PieChartResolveLabelOverlapping enumeration value defining the labels display behavior when labels overlap each other.

Remarks

When the chart contains a few narrow pie sectors, their labels can overlap each other. The BootstrapPieChart.ResolveLabelOverlapping property is assigned to the PieChartResolveLabelOverlapping.None value by default. To resolve label overlapping, specify one of the following values to the ResolveLabelOverlapping property:

  • Hide - automatically determines and hides overlapping labels in order of their addition to the data source.
  • Shift - tries to shift chart labels to show them without overlapping. If there is not enough space for all labels, hides labels with the smallest value.
Note

The "shift" mode in the ResolveLabelOverlapping property is not available if the BootstrapChartSeriesLabelSettings.Position option is set to "inside".

See Also