Skip to main content

TdxChartLegendDirection Enum

Enumerates available directions for legend item arrangement.

Declaration

TdxChartLegendDirection = (
    TopToBottom,
    BottomToTop,
    LeftToRight,
    RightToLeft
);

Members

Name Description Example
TopToBottom

Default. The legend pane has a vertical layout. Legend items are arranged from top to bottom.

VCL Chart Control: The Top to Bottom Legend Pane Direction

BottomToTop

The legend pane has a vertical layout. Legend items are arranged from bottom to top.

VCL Chart Control: The Bottom to Top Legend Pane Direction

LeftToRight

The legend pane has a horizontal layout. Legend items are arranged from left to right.

VCL Chart Control: The Left to Right Legend Pane Direction

RightToLeft

The legend pane has a horizontal layout. Legend items are arranged from right to left.

VCL Chart Control: The Right to Left Legend Pane Direction

Remarks

Horizontal and vertical directions for legend item arrangement change the legend pane layout to horizontal or vertical, respectively.

Note

TdxChartLegendDirection is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxChartLegendDirection.RightToLeft (in Delphi) or TdxChartLegendDirection::RightToLeft (in C++Builder) to refer to the RightToLeft value in code.

Direct TdxChartLegendDirection Type References

The Legend.Direction property of the Chart control and a diagram reference the TdxChartLegendDirection type.

See Also