You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add borderRadius prop to Background and PlotOptionsSolidGauge (#8223)
Add new property for `Background` and `PlotOptionsSolidGauge` to enable
setting `borderRadius`. The property was introduced in Highcharts V11.
Also, adjust the `SolidGauge` example to use the new property and make
it look better by increasing the pane size to better use the available
space of the chart area.
Copy file name to clipboardExpand all lines: vaadin-charts-flow-parent/vaadin-charts-flow-integration-tests/src/main/java/com/vaadin/flow/component/charts/examples/other/SolidGauge.java
Copy file name to clipboardExpand all lines: vaadin-charts-flow-parent/vaadin-charts-flow/src/main/java/com/vaadin/flow/component/charts/model/Background.java
Copy file name to clipboardExpand all lines: vaadin-charts-flow-parent/vaadin-charts-flow/src/main/java/com/vaadin/flow/component/charts/model/PlotOptionsSolidgauge.java
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ public class PlotOptionsSolidgauge extends GaugeOptions {
22
22
23
23
privateBooleananimation;
24
24
privateNumberanimationLimit;
25
+
privateStringborderRadius;
25
26
privateStringclassName;
26
27
privateBooleanclip;
27
28
privateBooleancolorByPoint;
@@ -93,6 +94,24 @@ public void setAnimationLimit(Number animationLimit) {
93
94
this.animationLimit = animationLimit;
94
95
}
95
96
97
+
/**
98
+
* @see #setBorderRadius(String)
99
+
*/
100
+
publicStringgetBorderRadius() {
101
+
returnborderRadius;
102
+
}
103
+
104
+
/**
105
+
* The corner radius of the border surrounding solid gauge. A number
106
+
* signifies pixels and percentage string, like for example 50%, signifies a
0 commit comments