Wijmo UI for the Web
sweepAngle Option

Default value: 180

A value that indicates in degrees where to render the highest number in the numeric labels and tickMarks in relation to the startAngle.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijradialgauge("option", "sweepAngle");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijradialgauge("option", "sweepAngle", newValue);
        
});
Javascript (Specification) 
var sweepAngle : number;
Example
// This code example renders the labels and tickmarks from a starting angle of -45 degrees to a sweep angle of 270
degrees, so that the numbers render three quarters of the way around the face
   $(document).ready(function () {
       $("#radialgauge1").wijradialgauge({
        value: 90,
        startAngle: -45,
        sweepAngle: 270
    });
});
Browser Compatibility
7
5
5

See Also

Reference

options type
wijradialgauge jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.