Wijmo UI for the Web
wijradialgauge jQuery Widget
Create dials and speedometers with customized start and sweep angles, tick marks, ranges, and pointers.
Syntax
$(function () {
    var options; // Type:  wijmo.gauge.wijradialgauge.options
     
    $(".selector").wijradialgauge(options);
});
function wijradialgauge() : any;
Options
 NameDescription
public Option

Type: wijmo.gauge.gauge_animation

Defines the animation effect, controlling aspects such as duration and easing.

 
public Option

Default value: true

A value that indicates whether to redraw the gauge automatically when resizing the gauge element.

 
public Option

Type: wijmo.gauge.radialgauge_cap

Sets the size, color, and other properties of the circle at the center of the gauge that anchors the pointer.

 
public Option

Type: wijmo.gauge.gauge_face

Sets or draws the image or shape to use for the face of the gauge and the background area.

 
public Option

Default value: 400

Sets the height of the gauge area in pixels.

 
public Option

Default value: false

Determines whether to render the gauge in reverse order, with the numbering going from highest to lowest.

 
public Option

Default value: false

The islogarithmic option, inherited from the jquery.wijmo.wijgauge.js base class, indicates whether to use logarithmic scaling for gauge label numeric values.

 
public Option

Type: wijmo.gauge.gauge_label

Sets all of the appearance options of the numeric labels that appear around the edge of the gauge.

 
public 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.

 
public Option

Default value: 0

Sets a value in pixels that indicates where to render the bottom edge of the gauge face.

 
public Option

Default value: 0

Sets a value in pixels that indicates where to render the left edge of the gauge face.

 
public Option

Default value: 0

Sets a value in pixels that indicates where to render the right edge of the gauge face.

 
public Option

Default value: 0

Sets a value in pixels that indicates where to render the top edge of the gauge face.

 
public Option

Default value: 100

Sets the maximum value of the gauge.

 
public Option

Default value: 0

Sets the minimum value of the gauge.

 
public Option

Sets the starting point for the center of the radial gauge.

 
public Option

Type: wijmo.gauge.gauge_pointer

A value that includes all settings of the gauge pointer.

 
public Option

Default value: 'auto'

A value that indicates the radius of the radial gauge in pixels, or use "auto" to have the gauge indicators fill the gauge area.

 
public Option

Default value: []

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

 
public Option

Default value: 0

A value that indicates in degrees where to start the lowest number in the numeric labels and tickMarks around the face of the RadialGauge.

 
public 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.

 
public 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.

 
public Option

Type: wijmo.gauge.gauge_tick

Sets appearance options for the minor tick marks that appear between the numeric labels around the face of the gauge, indicating numeric values between the major tick marks.

 
public Option

Default value: 0

Sets the value of the gauge, indicated by the pointer.

 
public Option

Default value: 600

Sets the width of the gauge area in pixels.

 
Top
Methods
 NameDescription
public MethodRemove the functionality completely. This will return the element back to its pre-init state.  
public MethodReturns a reference to the Raphael canvas object.  
public MethodRedraw the gauge.  
public MethodReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventFires before the value changes, this event can be called.  
public EventFires before the canvas is painted. This event can be cancelled. "return false;" to cancel the event.  
public EventFires before the value changes, this event can be called.  
Top
See Also

Widgets

RadialGauge

Reference

wijradialgauge jQuery Widget