Wijmo UI for the Web
pointer Option

Type: wijmo.gauge.gauge_pointer

A value that includes all settings of the gauge pointer.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  wijmo.gauge.gauge_pointer
    returnsValue = $(".selector").wijgauge("option", "pointer");
    
    // Set value
    var newValue; // Type:  wijmo.gauge.gauge_pointer
    $(".selector").wijgauge("option", "pointer", newValue);
        
});
Javascript (Specification) 
var pointer : gauge_pointer;
Example
// The example above renders the pointer as a purple-outlined blue rectangle of 125% the length of the radius
// by 10 pixels wide, offset back through the cap by 50% of the length of the radius
   $(document).ready(function () {
       $("#radialgauge1").wijradialgauge({
    value: 90,
    cap: {visible: true},
    pointer: {
    length: 1.25,
    offset: 0.5,
    shape: "rect",
    style: { fill: "blue", stroke: "purple"},
    width: 10
    }
    });
    });
Browser Compatibility
7
5
5

See Also

Reference

options type
wijgauge jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.