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

    Enumerates available value label positions in Stacked and Full-Stacked Bar series Views.

    Declaration

    TdxChartStackedBarValueLabelPosition = (
        Center,
        TopInside,
        BottomInside
    );

    Members

    Name Description
    Center

    Default. This option centers value labels within corresponding stacked 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 stacked 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 stacked 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 stacked bar.

    Remarks

    Different TdxChartStackedBarValueLabelPosition values correspond to different value label positions within a stacked bar in relation to the axis of values. If the AxisY.Reverse property of the Stacked or Full-Stacked Bar View is set to True, TopInside and BottomInside positions switch places.

    If the parent XY diagram is rotated, axes of arguments and values change places, and TdxChartStackedBarValueLabelPosition values specify horizontal rather than vertical label positions.

    Note

    TdxChartStackedBarValueLabelPosition 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 TdxChartStackedBarValueLabelPosition.TopInside (in Delphi) or TdxChartStackedBarValueLabelPosition::TopInside (in C++Builder) to refer to the TopInside value in code.

    Direct TdxChartStackedBarValueLabelPosition Type Reference

    The TdxChartXYSeriesStackedBarValueLabels.Position property references the TdxChartStackedBarValueLabelPosition type.

    See Also