Use the members of this enumeration to set the value of
the Orientation in
the Legend class.
Namespace:
C1.Win.C1ChartAssembly: C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)
Syntax
| C# |
|---|
public enum LegendOrientationEnum |
| Visual Basic |
|---|
Public Enumeration LegendOrientationEnum |
Members
| Member name | Value | Description | |
|---|---|---|---|
| Auto | 0 | Horizontal for legends with north and south Compass values, and Vertical for legends with east and west Compass values. | |
| Vertical | 1 | Legend entries are added side by side as (horizontally) as legend width permits. If sufficient width is not available, additional legend rows are created. | |
| Horizontal | 2 | Legend entries are stacked vertically as legend height permits. If sufficient height is not available, additional legend columns are created. | |
| HorizontalVariableItemWidth | 3 | The same as Horizontal, but entries can have different widths according to its content. | |
| VerticalVariableItemHeight | 4 | The same as Vertical, but entries can have different heights according to its content. |