A value that includes all settings of the gauge pointer.
Type: Object.
Default:
{length: 0.5, style: { fill: "#1E395B", stroke: "#1E395B"}, width: 4, offset: 0, shape: "tri", visible: true, template: null}
Code Example:
{ $("#element").wijlineargauge("option", "pointer", {length: 0.85})
length
A percent of the gauge's width / height.
Type: Number
Default: 0.5
shape
A value that indicates which shape the pointer shown.
Type: String
Default: 'tri'
Remarks: Options are 'rect' and 'tri'.
style
The style of the pointer.
Type: Object
Default:
{fill: "#1E395B", stroke: "#1E395B"}
width
The width of the pointer.
Type: Number
Default: 4
offset
A value that indicates the distance the pointer moved.
Type: Number
Default: 0
visible
A value that indicates whether to show the pointer.
Type: Boolean
Default: true
template
A function that indicates how to draw the pointer.
Type: Function
Default: null