TdxChartLegendDirection Enum
Enumerates available directions for legend item arrangement.
Declaration
TdxChartLegendDirection = (
TopToBottom,
BottomToTop,
LeftToRight,
RightToLeft
);
Members
Name | Description | Example |
---|---|---|
TopToBottom
|
Default. The legend pane has a vertical layout. Legend items are arranged from top to bottom. |
|
BottomToTop
|
The legend pane has a vertical layout. Legend items are arranged from bottom to top. |
|
LeftToRight
|
The legend pane has a horizontal layout. Legend items are arranged from left to right. |
|
RightToLeft
|
The legend pane has a horizontal layout. Legend items are arranged from right to left. |
Remarks
Horizontal and vertical directions for legend item arrangement change the legend pane layout to horizontal or vertical, respectively.
Note
TdxChartLegendDirection
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 TdxChartLegendDirection.RightToLeft
(in Delphi) or TdxChartLegendDirection::RightToLeft
(in C++Builder) to refer to the RightToLeft
value in code.
Direct TdxChartLegendDirection Type References
The Legend.Direction property of the Chart control and a diagram reference the TdxChartLegendDirection
type.