API REFERENCE
orientation
Lollipop layout direction: horizontal (Cleveland, default) or vertical.
Definition
| Item | Value |
|---|---|
| JavaScript property | orientation |
| HTML attribute | orientation |
| Type | 'vertical' | 'horizontal' |
| Default | undefined |
| Allowed values | vertical, horizontal |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
Configuration example
// Register sy-lollipop-chart and create the element before configuring it.
chart.orientation = "vertical";