Wijmo UI for the Web
orientation Option
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.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijlineargauge("option", "orientation");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijlineargauge("option", "orientation", newValue);
        
});
var orientation : string;
Example
// This sample shows how to create vertical linear gauge.
   $(document).ready(function () {
       $("#lineargauge1").wijlineargauge({
        value: 31,
        orientation: "vertical"
    });
});
See Also

Reference

options type
wijlineargauge jQuery Widget