Wijmo UI for the Web
xAxisLocation Option

Default value: 0.1

Sets the starting location 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", "xAxisLocation");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijlineargauge("option", "xAxisLocation", newValue);
        
});
Javascript (Specification) 
var xAxisLocation : number;
Remarks
Note: By default, the xAxisLength option is set to draw the X axis 80% of the width the gauge, so if you want to center the axis within the gauge, 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.