Wijmo UI for the Web
tickMajor Option

Type: wijmo.gauge.gauge_tick

Sets appearance options for the major tick marks that appear next to the numeric labels around the face of the gauge.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  wijmo.gauge.gauge_tick
    returnsValue = $(".selector").wijgauge("option", "tickMajor");
    
    // Set value
    var newValue; // Type:  wijmo.gauge.gauge_tick
    $(".selector").wijgauge("option", "tickMajor", newValue);
        
});
Javascript (Specification) 
var tickMajor : gauge_tick;
Example
$(document).ready(function () {
       $("#radialgauge1").wijradialgauge({
        value: 90,
        tickMajor: {
        position: "inside",
        style: { fill: "purple", stroke: "#1E395B"},
        factor: 2.5,
        marker: 'diamond',
        visible: true,
        offset: 27,
        interval: 20
        }
    });
});
Browser Compatibility
7
5
5

See Also

Reference

options type
wijgauge jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.