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
property Distance: Single read; write;
Property Value
Type | Description |
---|---|
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 |
Remarks
Use the Distance
property to adjust distance between separately displayed pie or doughnut slices.
Examples
Value | Example (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.
-
This example demonstrates different
Distance
property values for a Pie series when the Mode property is set to TdxChartExplodedValueMode.All. -
This example demonstrates different
Distance
property values for a Doughnut series when the Mode property is set to TdxChartExplodedValueMode.All.