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