Gauges.LinearGauge.Needle
Subclasses
Needles are scale-related elements that point out value on a scale.
Config options
Specifies the end width of the needle shape.
Note: Applicable only for 'pointer' needle type.
Specifies the fill style.
Defaults to: 'black'
Specifies the height of the needle shape. This height is used when the gauge is vertical.
Defaults to: 10
Specifies the offset of the inner edge of the needle to the top (in case of horizontal gauge) or to the left (in case of vertical gauge).
Please note that this number is ratio to the whole gauge height (horizontal) or width (vertical) of the gauge.
Defaults to: 0.5
Specifies the width of the lines.
Defaults to: 0
Specifies the offset of the medium points in the 'pointer' type needle to the top (in case of horizontal gauge) or to the left (in case of vertical gauge).
Please note that this number is ratio to the whole gauge height (horizontal) or width (vertical) of the gauge.
Specifies the medium width of the needle shape.
Note: Applicable only for 'pointer' needle type.
Specifies the orientation of the needle. - 'top', 'left', 'bottom' or 'right'.
Defaults to: 'top'
Specifies the offset of the outer edge of the needle to the top (in case of horizontal gauge) or to the left (in case of vertical gauge).
Please note that this number is ratio to the whole gauge height (horizontal) or width (vertical) of the gauge.
Defaults to: 0.85
Specifies the stroke style.
Defaults to: 'black'
Specifies the needle shape - 'pointer', 'ellipse', 'rectangle', 'triangle', 'line' or 'plus'.
Defaults to: "pointer"
Specifies the value which the needle points to.
Specifies the value which the needle points to.
Specifies the width of the needle shape. This width is used when the gauge is horizontal.
Defaults to: 10
Specifies the zIndex of the needle. The higher number, the needle goes above the other elements;
Defaults to: 4