Back to Devexpress

TdxChartCustomLegend.Direction Property

vcl-dxchartcore-dot-tdxchartcustomlegend-db27294b.md

latest2.2 KB
Original Source

TdxChartCustomLegend.Direction Property

Specifies the legend pane layout and the order of items in it.

Declaration

delphi
property Direction: TdxChartLegendDirection read; write; default TdxChartLegendDirection.TopToBottom;

Property Value

TypeDefaultDescription
TdxChartLegendDirectionTopToBottom

The direction for legend item arrangement.

|

Remarks

Use the Direction property to switch between horizontal and vertical legend pane layouts.

Property Value Examples

ValueExample[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

  1. This example demonstrates different 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

TdxChartCustomLegend.MaxCaptionWidth Property

TdxChartCustomLegend Class

TdxChartCustomLegend Members

dxChartCore Unit