Skip to main content
All docs
V25.1
  • TdxChartBarValueLabelPosition Enum

    Enumerates available value label positions in Simple Bar series Views.

    Declaration

    TdxChartBarValueLabelPosition = (
        Center,
        TopInside,
        BottomInside,
        Top
    );

    Members

    Name Description
    Center

    Default. This option centers value labels within corresponding bars.

    If the parent XY diagram is rotated, this option centers value labels horizontally rather than vertically (default).

    TopInside

    Vertical Alignment

    The TopInside option positions value labels within corresponding bars, at their top borders.

    Horizontal Alignment

    If the parent XY diagram is rotated, the TopInside option positions a value label at the right border of the corresponding bar.

    BottomInside

    Vertical Alignment

    The BottomInside option positions value labels within corresponding stacked bars, at their bottom borders.

    Horizontal Alignment

    If the parent XY diagram is rotated, the BottomInside option positions a value label at the left border of the corresponding bar.

    Top

    This option positions a value label outside its bar. This mode can display lines between labels and corresponding bars.

    The LineLength property specifies the distance between a bar border and the corresponding value label.

    Vertical Alignment

    The Top option positions value labels outside corresponding bars, at their top borders.

    Horizontal Alignment

    If the parent XY diagram is rotated, the Top option positions a value label to the right of the corresponding bar.

    Remarks

    Different TdxChartBarValueLabelPosition values correspond to different value label positions within a simple bar in relation to the axis of values. If the AxisY.Reverse property of the Simple Bar View is set to True, top and bottom label positions switch places.

    If the parent XY diagram is rotated, axis of arguments and values switch places, and TdxChartBarValueLabelPosition values specify horizontal rather than vertical label positions.

    Note

    TdxChartBarValueLabelPosition is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxChartBarValueLabelPosition.Top (in Delphi) or TdxChartBarValueLabelPosition::Top (in C++Builder) to refer to the Top value in code.

    Direct TdxChartBarValueLabelPosition Type Reference

    The TdxChartXYSeriesBarValueLabels.Position property references the TdxChartBarValueLabelPosition type.

    See Also