Skip to main content
All docs
V24.2

TdxChartSecondaryAxisAlignment Enum

Enumerates available secondary axis positions in relation to the area of an XY diagram.

Declaration

TdxChartSecondaryAxisAlignment = (
    Near,
    Far
);

Members

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:

  • The axis position. For example, if the axis is horizontal with all other default settings, Near corresponds to the bottom diagram border.
  • The direction of the orthogonal axis. If its scale is reversed, Near and Far positions swap places.
  • The Chart control’s BiDiMode property value (only for vertical axes). For example, if this property is set to 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:

  • The axis position. For example, if the axis is horizontal with all other default settings, Far corresponds to the top diagram border.
  • The direction of the orthogonal axis. If its scale is reversed, Far and Near positions swap places.
  • The Chart control’s BiDiMode property value (only for vertical axes). For example, if this property is set to bdRightToLeft, Near and Far positions swap places.

Remarks

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.

Direct TdxChartSecondaryAxisAlignment Type References

The following public API members reference the TdxChartSecondaryAxisAlignment type:

TdxChartSecondaryAxisXCollectionItem.Alignment
Specifies the alignment of the secondary axis of arguments.
TdxChartSecondaryAxisYCollectionItem.Alignment
Specifies the alignment of the secondary axis of values.
TdxChartSecondaryAxisX.Alignment
Specifies the alignment of the secondary axis of arguments.
TdxChartSecondaryAxisY.Alignment
Specifies the alignment of the secondary axis of values.
See Also