Wijmo UI for the Web
marginRight Option

Default value: 0

Sets 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").wijgauge("option", "marginRight");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijgauge("option", "marginRight", newValue);
        
});
Javascript (Specification) 
var marginRight : number;
Remarks
Note: If the radius of the gauge is too large to fit within the rectangle defined by the width and height less the specified margins, and the radius is set to the default value of "auto," Wijmo automatically resizes the gauge to fit.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijgauge jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.