TdxChartLegendAlignment Enum
Enumerates available horizontal or vertical legend pane positions within the parent diagram or Chart area.
Declaration
TdxChartLegendAlignment = (
Default,
NearOutside,
Near,
Center,
Far,
FarOutside
);
Members
Name | Description |
---|---|
Default
|
Default. The default horizontal or vertical legend pane position. The default legend pane position can differ depending on the diagram or series type. In most cases, the |
NearOutside
|
This option works similar to Near. However, unlike Near, Use this option when you need to avoid diagram area overlapping. |
Near
|
A legend pane is aligned to the near border of its parent diagram or Chart control. Horizontal Alignment If the
Vertical Alignment If the |
Center
|
A legend pane is centered horizontally or vertically within the parent diagram or Chart control area. |
Far
|
A legend pane is aligned to the far border of its parent diagram or Chart control. Horizontal Alignment If the
Vertical Alignment If the |
FarOutside
|
This option works similar to Far. However, unlike Far, Use this option when you need to avoid diagram area overlapping. |
Remarks
The following public API members reference the TdxChartLegendAlignment
type:
- TdxChartCustomLegend.AlignmentHorz
- Specifies legend pane position within the Chart control or diagram area.
- TdxChartCustomLegend.AlignmentVert
- Specifies vertical legend pane position within the Chart control or diagram area.
Note
TdxChartLegendAlignment
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 TdxChartLegendAlignment.Center
(in Delphi) or TdxChartLegendAlignment::Center
(in C++Builder) to refer to the Center
value in code.