wijmo.gauge.wijlineargauge Namespace > options type : orientation Option |
Default value: 'horizontal'
Sets the orientation of the gauge, with a setting of horizontal showing values across the gauge from left to right, and a setting of vertical showing values along the gauge from top to bottom.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: string returnsValue = $(".selector").wijlineargauge("option", "orientation"); // Set value var newValue; // Type: string $(".selector").wijlineargauge("option", "orientation", newValue); }); |
Javascript (Specification) | |
---|---|
|
// This sample shows how to create vertical linear gauge. $(document).ready(function () { $("#lineargauge1").wijlineargauge({ value: 31, orientation: "vertical" }); });