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

Default value: []

Allows you to create an array of ranges to highlight where values fall within the gauge.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  array
    returnsValue = $(".selector").wijgauge("option", "ranges");
    
    // Set value
    var newValue; // Type:  array
    $(".selector").wijgauge("option", "ranges", newValue);
        
});
var ranges : array;
Remarks

For example, a red range, a yellow range, and a green range. Each range is drawn in the form of a curved bar. You can control every aspect of each range with the settings detailed below. Options available for each range include:

See Also

Reference

options type
wijgauge jQuery Widget