To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I started with the source https://demo.vaadin.com/charts/#SolidGauge
SolidGauge rotationChange from: pane.setCenterXY("50%", "85%"); pane.setSize("140%"); pane.setStartAngle(-90); pane.setEndAngle(90);
To: pane.setCenterXY("0%", "50%"); pane.setSize("100%"); pane.setStartAngle(0); pane.setEndAngle(180);
Attachment rotation.png shows the impact of the changes Reverse min/max positionsTo reverse, add the following line after the yaxis.setStops(stop1, stop2, stop3); yaxis.setReversed(Boolean.TRUE);
Attachment reverse.png Image shows the impact of the setReversed change
Issuea. I was expecting to see the green on image 2 to flow from the bottom up. b. The green area is too much for the value.
Is there way to get the green to flow correctly from the bottom limit to up limit?