API REFERENCE

orientation

Lollipop layout direction: horizontal (Cleveland, default) or vertical.

Definition

ItemValue
JavaScript propertyorientation
HTML attributeorientation
Type'vertical' | 'horizontal'
Defaultundefined
Allowed valuesvertical, horizontal

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.

Configuration example

javascript
// Register sy-lollipop-chart and create the element before configuring it.
chart.orientation = "vertical";