Wijmo UI for the Web
xAxisLength Option

Default value: 0.8

Sets the length of the X axis as a percentage of the width of the gauge.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijlineargauge("option", "xAxisLength");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijlineargauge("option", "xAxisLength", newValue);
        
});
Javascript (Specification) 
var xAxisLength : number;
Remarks
Note: By default, the xAxisLocation option is set to begin the X axis 10% of the way across from the left edge of the gauge, so if you want to use a higher ratio for the xAxisLength, you must also adjust that option.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijlineargauge jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.