scale.settings.vertical

getScale(id).settings.vertical() (since beta 0.3)

Makes the buttons and labels of the scale appear vertically, with the initially left-most value to the bottom and the initially right-most value on top.

If you also use .settings.labelsPosition, top labels will accordingly appear on the right, and bottom labels will appear on the left.

Example:

[js highlight=”3″ try=”true”]newScale(“slider”, 100)
.settings.slider()
.settings.vertical()
.print()
[/js]

Adds a 100-point vertical slider to the page and a button to validate.