TdxChartAxisAlignment Enum
Enumerates available axis positions in relation to the area of an XY diagram.
Declaration
TdxChartAxisAlignment = (
Near,
Far,
Zero,
Center
);
Members
Name | Description | Example (Y-Axis) |
---|---|---|
Near
|
An axis is aligned with the border of a diagram that corresponds to the scale beginning on an orthogonal axis. The
|
|
Far
|
An axis is aligned with the border of a diagram that corresponds to the scale end of an orthogonal axis. The
|
|
Zero
|
An axis is aligned with the position of the zero value on the scale of an orthogonal axis. This mode is useful when the scale on the orthogonal axis displays both positive and negative numeric values. |
|
Center
|
An axis is centered within the area of an XY diagram. |
Remarks
You can position main X and Y-axes at one of the borders of an XY diagram or within its plot area.
Note
TdxChartAxisAlignment
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 TdxChartAxisAlignment.Zero
(in Delphi) or TdxChartAxisAlignment::Zero
(in C++Builder) to refer to the Zero
value in code.
Direct TdxChartAxisAlignment Type Reference
The TdxChartCustomAxis.Alignment property references the TdxChartAxisAlignment
type.