@vtx/modals2 5.0.17 → 5.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -35,7 +35,9 @@ var BarCharts = function BarCharts(_ref) {
|
|
|
35
35
|
_ref$otherProps = _ref.otherProps,
|
|
36
36
|
otherProps = _ref$otherProps === void 0 ? {} : _ref$otherProps,
|
|
37
37
|
_ref$tooltipProps = _ref.tooltipProps,
|
|
38
|
-
tooltipProps = _ref$tooltipProps === void 0 ? {} : _ref$tooltipProps
|
|
38
|
+
tooltipProps = _ref$tooltipProps === void 0 ? {} : _ref$tooltipProps,
|
|
39
|
+
_ref$barBorderRadius = _ref.barBorderRadius,
|
|
40
|
+
barBorderRadius = _ref$barBorderRadius === void 0 ? [0, 0, 0, 0] : _ref$barBorderRadius;
|
|
39
41
|
var lineColors = ['#1FB64D'];
|
|
40
42
|
var _useSettings = useSettings(),
|
|
41
43
|
chartFontColor = _useSettings.chartFontColor,
|
|
@@ -143,7 +145,8 @@ var BarCharts = function BarCharts(_ref) {
|
|
|
143
145
|
}, {
|
|
144
146
|
offset: 0,
|
|
145
147
|
color: colors[1]
|
|
146
|
-
}])
|
|
148
|
+
}]),
|
|
149
|
+
borderRadius: barBorderRadius || [0, 0, 0, 0]
|
|
147
150
|
}
|
|
148
151
|
};
|
|
149
152
|
})), _toConsumableArray(lineList.map(function (item, index) {
|