vcl-dxchartxydiagram-a07e9f2a.md
Enumerates available secondary axis positions in relation to the area of an XY diagram.
TdxChartSecondaryAxisAlignment = (
Near,
Far
);
| Name | Description |
|---|---|
Near |
A secondary axis is aligned to the border of a diagram that corresponds to the scale beginning on an orthogonal axis.
The Near axis position depends on the following:
Near corresponds to the bottom diagram border.Near and Far positions swap places.bdRightToLeft, Near and Far positions swap places.|
| Far |
A secondary axis is aligned to the border of a diagram that corresponds to the scale end of an orthogonal axis.
The Far axis position depends on the following:
Far corresponds to the top diagram border.Far and Near positions swap places.bdRightToLeft, Near and Far positions swap places.|
You can align secondary axes to one of the borders of the parent XY diagram. The actual axis position depends on the orthogonal axis direction and the Chart control’s BiDiMode property value.
Unlike main diagram axes, you cannot position secondary axes within the plot area.
Note
TdxChartSecondaryAxisAlignment 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 TdxChartSecondaryAxisAlignment.Near (in Delphi) or TdxChartSecondaryAxisAlignment::Near (in C++Builder) to refer to the Near value in code.
The following public API members reference the TdxChartSecondaryAxisAlignment type:
TdxChartSecondaryAxisXCollectionItem.AlignmentSpecifies the alignment of the secondary axis of arguments.TdxChartSecondaryAxisYCollectionItem.AlignmentSpecifies the alignment of the secondary axis of values.TdxChartSecondaryAxisX.AlignmentSpecifies the alignment of the secondary axis of arguments.TdxChartSecondaryAxisY.AlignmentSpecifies the alignment of the secondary axis of values. See Also