vcl-dxchartcore-dot-tdxchartcustomlegend-db27294b.md
Specifies the legend pane layout and the order of items in it.
property Direction: TdxChartLegendDirection read; write; default TdxChartLegendDirection.TopToBottom;
| Type | Default | Description |
|---|---|---|
| TdxChartLegendDirection | TopToBottom |
The direction for legend item arrangement.
|
Use the Direction property to switch between horizontal and vertical legend pane layouts.
| Value | Example[1] |
|---|---|
| TdxChartLegendDirection.TopToBottom ( default ) | |
| TdxChartLegendDirection.LeftToRight |
Refer to the TdxChartLegendDirection type description for detailed information on all available options.
The Direction property’s default value is TdxChartLegendDirection.TopToBottom.
Footnotes
Direction property values on the same legend pane when AlignmentHorz and AlignmentVert properties are set to TdxChartLegendAlignment.Far.See Also
TdxChartCustomLegend.MaxHeightPercent Property
TdxChartCustomLegend.MaxWidthPercent Property