Skip to main content
All docs
V25.1
  • TdxChartCustomLabels.TextAlignment Property

    Specifies horizontal value label alignment.

    Declaration

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

    Property Value

    Type Default Description
    TdxAlignment Default

    The horizontal value label alignment in relation to the base position.

    Remarks

    Base positions of labels depend on the corresponding value positions and the LineLength property value. In addition, properties introduced in TdxChartCustomLabels class descendants can also affect base value label positions.

    The TextAlignment property can be useful when you need to reduce overlapping of value labels of different series on the same diagram.

    Default Value

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

    The default TextAlignment property value indicates that value labels are centered at their base positions.

    See Also