@mx-cartographer/experiences 7.2.15-alpha-ram20-finstrong-testing → 7.2.15-alpha-ram22-finstrong-testing

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.
@@ -1682,14 +1682,19 @@ const L = {
1682
1682
  totalComparison: d,
1683
1683
  totalMain: l
1684
1684
  }) => {
1685
- const p = E(), h = so(p.breakpoints.down("xs")), _ = m.useMemo(
1685
+ const p = E(), h = so(p.breakpoints.down("xs"));
1686
+ console.log(r, "data");
1687
+ const _ = m.useMemo(
1686
1688
  () => r.sort((g, f) => g.month - f.month).map((g) => {
1687
1689
  const f = Ln(g.month), M = {
1688
1690
  spending_vs_income: {
1689
1691
  main: g.income,
1690
1692
  comparison: g.standard_spend,
1691
- formattedMain: W(Math.round(g.standard_spend / 100) * 100, "0.0a"),
1692
- formattedComparison: W(Math.round(g.income / 100) * 100, "0.0a")
1693
+ formattedMain: W(Math.round(g.income / 100) * 100, "0.0a"),
1694
+ formattedComparison: W(
1695
+ Math.round(g.standard_spend / 100) * 100,
1696
+ "0.0a"
1697
+ )
1693
1698
  },
1694
1699
  debt_payment_vs_income: {
1695
1700
  main: g.income,
@@ -1704,7 +1709,9 @@ const L = {
1704
1709
  };
1705
1710
  }),
1706
1711
  [r, t]
1707
- ), b = {
1712
+ );
1713
+ console.log(_, "chartData");
1714
+ const b = {
1708
1715
  dataKey: "label",
1709
1716
  scaleType: "band"
1710
1717
  }, x = Math.max(..._.map((g) => Math.max(g.main, g.comparison))), v = Math.ceil(x * 1.2 / 1e3) * 1e3, y = v / 3, D = {
@@ -1802,8 +1809,8 @@ const L = {
1802
1809
  height: 240,
1803
1810
  margin: { top: 20, bottom: 30, right: 10, left: 42 },
1804
1811
  series: [
1805
- { dataKey: "comparison", type: "bar" },
1806
- { dataKey: "main", type: "bar" }
1812
+ { dataKey: "main", type: "bar" },
1813
+ { dataKey: "comparison", type: "bar" }
1807
1814
  ],
1808
1815
  xAxis: [b],
1809
1816
  yAxis: [D],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.2.15-alpha-ram20-finstrong-testing",
3
+ "version": "7.2.15-alpha-ram22-finstrong-testing",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",