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