Back to Devexpress

TdxChartExplodedValueOptions.Distance Property

vcl-dxchartsimplediagram-dot-tdxchartexplodedvalueoptions-ebb7136a.md

latest3.1 KB
Original Source

TdxChartExplodedValueOptions.Distance Property

Specifies the base (for Pie series) or extra (for Doughnut series) distance (as a percentage of the series radius) between a separately displayed slice and the series center.

Declaration

delphi
property Distance: Single read; write;

Property Value

TypeDescription
Single

The current base (for Pie series) or extra (for Doughnut series) distance (as a percentage of the series radius) between a separately displayed slice and the series center. The property value can be within the range between 0 and 90.

|

Remarks

Use the Distance property to adjust distance between separately displayed pie or doughnut slices.

Property Value Examples

ValueExample (Pie Series)[1]Example (Doughnut Series)[2]
10 (default)
20

Property Setter Behavior

The Distance property setter limits an assigned value to the range between 0 and 90.

Default Value

The Distance property’s default value is DefaultDistance.

Footnotes

  1. This example demonstrates different Distance property values for a Pie series when the Mode property is set to TdxChartExplodedValueMode.All.

  2. This example demonstrates different Distance property values for a Doughnut series when the Mode property is set to TdxChartExplodedValueMode.All.

See Also

TdxChartExplodedValueOptions Class

TdxChartExplodedValueOptions Members

dxChartSimpleDiagram Unit