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