Wijmo UI for the Web
marginTop Option

Default value: 5

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

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijlineargauge("option", "marginTop");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijlineargauge("option", "marginTop", newValue);
        
});
Javascript (Specification) 
var marginTop : number;
Remarks
In order to change the margin settings by more than a few pixels without clipping the gauge face edges, it may help to also change the height property.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijlineargauge jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.