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 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 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 needle shape - 'pointer', 'ellipse', 'rectangle', 'triangle', 'line' or 'plus'.
Defaults to: "pointer"