vcl-dxchartcore-e4ca48fc.md
Enumerates available directions for legend item arrangement.
TdxChartLegendDirection = (
TopToBottom,
BottomToTop,
LeftToRight,
RightToLeft
);
| 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.
|
|
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.
The Legend.Direction property of the Chart control and a diagram reference the TdxChartLegendDirection type.
See Also