Wijmo UI for the Web
yAxisLocation Option

Default value: 0.5

Sets the base vertical location of the pointer, tick marks and labels on the X axis as a percentage of the height of the gauge.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijlineargauge("option", "yAxisLocation");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijlineargauge("option", "yAxisLocation", newValue);
        
});
Javascript (Specification) 
var yAxisLocation : number;
Remarks
Note that there is no actual Y axis in the LinearGauge. By default, it is centered in the gauge.A setting of 0.8 moves the pointer, tick marks, and labels toward the bottom edge of the gauge.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijlineargauge jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.