Wijmo UI for the Web
marginRight Option

Default value: 5

It is a value in pixels that indicates where to render the right edge of the gauge face.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijlineargauge("option", "marginRight");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijlineargauge("option", "marginRight", newValue);
        
});
Javascript (Specification) 
var marginRight : number;
Remarks
In order to change the margin settings without compressing the gauge markers, it may help to also change the width option.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijlineargauge jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.