Skip to main content
All docs
V25.1
  • TdxChartSimpleSeriesTotalLabel.Position Property

    Specifies the base total label position in relation to a simple series.

    Declaration

    property Position: TdxAlignment read; write; default TdxAlignment.Default;

    Property Value

    Type Default Description
    TdxAlignment Default

    The current base total label position.

    Remarks

    Use Position and Alignment properties to position the total label.

    Property Value Examples

    Value Example (Pie)[1] Example (Doughnut)[2]
    TdxAlignment.Default (default)[3] VCL Chart Control: Pie View - The Default Base Total Label Position (Far) VCL Chart Control: Doughnut View - The Default Base Total Label Position (Center)
    TdxAlignment.Near VCL Chart Control: Pie View - The Total Label is Above the Series VCL Chart Control: Doughnut View - The Total Label is Above the Series
    TdxAlignment.Center VCL Chart Control: Pie View - The Total Label is Centered within the Series VCL Chart Control: Doughnut View - The Total Label is within a Doughnut Hole
    TdxAlignment.Far VCL Chart Control: Pie View - The Total Label is Below the Series VCL Chart Control: Doughnut View - The Total Label is Below the Series

    Default Value

    The Position property’s default value is TdxAlignment.Default.

    The default Position property value indicates different total label positions in different simple Views:

    Pie View
    The total label is below the pie series. The default property value corresponds to the TdxAlignment.Far option.
    Doughnut View
    The total label is within the doughnut hole. The default property value corresponds to the TdxAlignment.Center option.
    Footnotes
    1. This example demonstrates different Position property values on the same Pie series.

      The Alignment property is set to TdxAlignment.Default.

    2. This example demonstrates different Position property values on the same Doughnut series.

      The Alignment property is set to TdxAlignment.Default.

    3. Pie and Doughnut series Views interpret the default Position property value differently.

    See Also