vcl-dxchartsimplediagram-767f8c3a.md
Enumerates series arrangement modes for simple diagrams.
TdxSimpleDiagramLayout = (
Auto,
Horizontal,
Vertical
);
| Name | Description |
|---|---|
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.
|
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