@ammarkhalidfarooq/dashboard-package 0.6.9 → 0.6.10
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.
- package/dist/index.cjs.js +9 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +9 -6
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3953,7 +3953,9 @@ var RefundsChargebacksCard = function RefundsChargebacksCard(_ref) {
|
|
|
3953
3953
|
fontFamily: "Inter, sans-serif",
|
|
3954
3954
|
sparkline: {
|
|
3955
3955
|
enabled: false
|
|
3956
|
-
}
|
|
3956
|
+
},
|
|
3957
|
+
// Shift rendered plot area away from the left labels.
|
|
3958
|
+
offsetX: 10
|
|
3957
3959
|
},
|
|
3958
3960
|
dataLabels: {
|
|
3959
3961
|
enabled: false
|
|
@@ -3996,9 +3998,10 @@ var RefundsChargebacksCard = function RefundsChargebacksCard(_ref) {
|
|
|
3996
3998
|
formatter: function formatter(val) {
|
|
3997
3999
|
return "".concat(parseFloat(val.toFixed(1)), "%");
|
|
3998
4000
|
},
|
|
3999
|
-
align: "right",
|
|
4000
|
-
minWidth: 40,
|
|
4001
|
-
maxWidth: 40,
|
|
4001
|
+
// align: "right",
|
|
4002
|
+
// minWidth: 40,
|
|
4003
|
+
// maxWidth: 40,
|
|
4004
|
+
offsetX: -6,
|
|
4002
4005
|
style: {
|
|
4003
4006
|
colors: "rgba(0, 0, 0, 0.4)",
|
|
4004
4007
|
fontSize: "11px"
|
|
@@ -4015,8 +4018,8 @@ var RefundsChargebacksCard = function RefundsChargebacksCard(_ref) {
|
|
|
4015
4018
|
},
|
|
4016
4019
|
// Reserve room for y-axis labels so the plotted lines don't bleed into them.
|
|
4017
4020
|
padding: {
|
|
4018
|
-
left:
|
|
4019
|
-
right:
|
|
4021
|
+
left: 24,
|
|
4022
|
+
right: 6
|
|
4020
4023
|
}
|
|
4021
4024
|
},
|
|
4022
4025
|
colors: ["#F59E0B", "#EF4444"],
|