Skip to main content
All docs
V25.1
  • 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.

    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