-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gauge INDICATOR graphic anomalies on extreme value changes #146
Comments
The bar, needle and tooltip should now be at the right position
I've made a fix to the problem with commit 1d7f07c |
It worked better, but there is still a problem with rendering of the needle. It is sometime not shown when it goes from one end to the other with values beyond minValue/maxValue. The needle was missing on max, mostly only when value was way above maxValue, but not always. value=-3565.1111 (needle shown) value=244.5433 (needle shown) value=-505.000 (needle is shown) The same happens in reverse |
Hmm...that's interesting...neither with the values from the original issue nor with the values you provided in the last comment the needle will disappear on my mac??? |
Also modified the tooltip location a little bit with the last commit |
Running I think it was running with the JavaFX software pipeline: -Dprism.order=sw Should the needle be at the center(top) position if the value is outside of minValue/maxValue? I see that the needle is at bottom left side if value is lower than minValue and bottom right side if value is higher than maxValue. When the needle goes from one side to the next it is disappeared. |
Ok so I did not test it using the software renderer but it would explain the difference. |
I don't think the problem is either the SW or HW renderer. I get same behaviour on either. With Java 8 the needle was placed on the side of the Gauge and not on the Gauge. What I experienced previously on my work computer was that the needle disappeared. The value labels where in the correct place though at the tip of the needle. With Java 10 I got the needle to stay in the correct place and not disappear. Though the value labels where no longer placed at the tip of the needle, but all over the place. The gauge was no longer a half circle of 180 degrees. According to the value above maxValue the circle could extend all the way to 360 degrees. Made some recordings that shows this, attached two both with the es2 HW renderer. |
We have seen strange visual anomalies on Gauge with SkinType INDICATOR when the values have been updated constantly with extreme values beyond the minValue/maxValue range.
With setValueVisible(true), the value pops up different places around the Gauge.
We are using the Gauge INDICATOR as an carrier offset meter.
I have populated the test with some of the values we got in our application on Gauge.
Example GaugeTest:
The text was updated successfully, but these errors were encountered: