Wijmo UI for the Web
logarithmicBase Option
wijmo.gauge.wijgauge Namespace > options type : logarithmicBase Option

Default value: 10

The logarithmicBase option, inherited from the jquery.wijmo.wijgauge.js base class, indicates the logarithmic base to use if the islogarithmic option is set to true. The logarithmic base is the number to raise to produce the exponent.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijgauge("option", "logarithmicBase");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijgauge("option", "logarithmicBase", newValue);
        
});
var logarithmicBase : number;
Remarks
For example, with the default base 10, a logarithm of 3 produces 1000, or 10 to the power of 3, or 10³ = 10 x 10 x 10 = 1000. If you change the base to 2, a logarithm of 3 produces 8, or 2³ = 2 x 2 x 2 = 8. You can use the natural logarithm (using a base of ≈ 2.718) by specifying the value Math.e.
See Also

Reference

options type
wijgauge jQuery Widget