vcl-dxchartxyseriesbarview-d943924c.md
Enumerates available value label positions in Stacked and Full-Stacked Bar series Views.
TdxChartStackedBarValueLabelPosition = (
Center,
TopInside,
BottomInside
);
| 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.
|
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.
The TdxChartXYSeriesStackedBarValueLabels.Position property references the TdxChartStackedBarValueLabelPosition type.
See Also