Back to Devexpress

TdxSimpleDiagramLayout Enum

vcl-dxchartsimplediagram-767f8c3a.md

latest1.7 KB
Original Source

TdxSimpleDiagramLayout Enum

Enumerates series arrangement modes for simple diagrams.

Declaration

delphi
TdxSimpleDiagramLayout = (
    Auto,
    Horizontal,
    Vertical
);

Members

NameDescription
Auto

Default. A simple diagram automatically switches between horizontal and vertical layout depending on diagram height-to-width ratio, the number of series in the diagram, and the Dimension property value.

| | Horizontal |

A simple diagram arranges series horizontally. The diagram’s Dimension property specifies the number of series in each row.

| | Vertical |

A simple diagram arranges series vertically. The diagram’s Dimension property specifies the number of series in each column.

|

Remarks

A simple diagram’s Layout property references the TdxSimpleDiagramLayout type.

Note

TdxSimpleDiagramLayout 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 TdxSimpleDiagramLayout.Horizontal (in Delphi) or TdxSimpleDiagramLayout::Horizontal (in C++Builder) to refer to the Horizontal value in code.

See Also

dxChartSimpleDiagram Unit