First of all, thanks for making a really useful library! I have found one minor issue. I am using the latest available version from the website (7.9).
When I configure a gauge to use the COUNTER_CLOCKWISE scale direction, the scale is correctly drawn the opposite side of the start angle. However, the initial position of the needle is still drawn the "clockwise" side, until the first value update comes through. The result is that until that update, you have the needle off the scale in the wrong direction.
The code below reproduces the problem. It creates two gauges, the left one being clockwise, the right one being identical except for it being counter-clockwise. You will see that on first run, the right-hand gauge needle is not properly lined up with the zero position, as shown in the picture:
When a value update comes through (triggered by pressing the button), both gauges line up properly.
First of all, thanks for making a really useful library! I have found one minor issue. I am using the latest available version from the website (7.9).
When I configure a gauge to use the COUNTER_CLOCKWISE scale direction, the scale is correctly drawn the opposite side of the start angle. However, the initial position of the needle is still drawn the "clockwise" side, until the first value update comes through. The result is that until that update, you have the needle off the scale in the wrong direction.
The code below reproduces the problem. It creates two gauges, the left one being clockwise, the right one being identical except for it being counter-clockwise. You will see that on first run, the right-hand gauge needle is not properly lined up with the zero position, as shown in the picture:
When a value update comes through (triggered by pressing the button), both gauges line up properly.