Wijmo UI for the Web
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
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) 
var orientation : string;
Example
// This sample shows how to create vertical linear gauge.
   $(document).ready(function () {
       $("#lineargauge1").wijlineargauge({
        value: 31,
        orientation: "vertical"
    });
});
Browser Compatibility
7
5
5

See Also

Reference

options type
wijlineargauge jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.