wijmo.gauge.wijgauge Namespace > options type : pointer Option |
A value that includes all settings of the gauge pointer.
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) | |
---|---|
|
// 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 } }); });