@ammarkhalidfarooq/dashboard-package 0.6.8 → 0.6.9

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 CHANGED
@@ -3996,6 +3996,9 @@ var RefundsChargebacksCard = function RefundsChargebacksCard(_ref) {
3996
3996
  formatter: function formatter(val) {
3997
3997
  return "".concat(parseFloat(val.toFixed(1)), "%");
3998
3998
  },
3999
+ align: "right",
4000
+ minWidth: 40,
4001
+ maxWidth: 40,
3999
4002
  style: {
4000
4003
  colors: "rgba(0, 0, 0, 0.4)",
4001
4004
  fontSize: "11px"
@@ -4010,9 +4013,10 @@ var RefundsChargebacksCard = function RefundsChargebacksCard(_ref) {
4010
4013
  show: true
4011
4014
  }
4012
4015
  },
4016
+ // Reserve room for y-axis labels so the plotted lines don't bleed into them.
4013
4017
  padding: {
4014
- left: 0,
4015
- right: 0
4018
+ left: 14,
4019
+ right: 4
4016
4020
  }
4017
4021
  },
4018
4022
  colors: ["#F59E0B", "#EF4444"],