Skip to main content
All docs
V25.1
  • 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 0 and 90.

    Remarks

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

    Property Value Examples

    Value Example (Pie Series)[1] Example (Doughnut Series)[2]
    10 (default) VCL Chart Control: The Default Distance between Pie Slices and the Center VCL Chart Control: Doughnut Slices Move Away from the Center by the Default Distance
    20 VCL Chart Control: The Distance between Pie Slices and The Center is 20 VCL Chart Control: Doughnut Slices Move Away from the Center by 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