Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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.

#Property Value Examples

Value Example[1]
TdxChartLegendDirection.TopToBottom (default) VCL Chart Control: The Top to Bottom Legend Pane Direction
TdxChartLegendDirection.LeftToRight VCL Chart Control: The Left to Right Legend Pane Direction

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