@mx-cartographer/experiences 7.2.15-alpha-ram23-finstrong-testing → 7.2.15-alpha-ram24-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,20 +1682,18 @@ const L = {
|
|
|
1682
1682
|
totalComparison: d,
|
|
1683
1683
|
totalMain: l
|
|
1684
1684
|
}) => {
|
|
1685
|
-
const p = E(), h = so(p.breakpoints.down("xs"))
|
|
1686
|
-
console.log(r, "data");
|
|
1687
|
-
const _ = m.useMemo(
|
|
1685
|
+
const p = E(), h = so(p.breakpoints.down("xs")), _ = m.useMemo(
|
|
1688
1686
|
() => r.sort((g, f) => g.month - f.month).map((g) => {
|
|
1689
1687
|
const f = Ln(g.month), M = {
|
|
1690
1688
|
spending_vs_income: {
|
|
1691
1689
|
main: g.standard_spend,
|
|
1692
1690
|
comparison: g.income,
|
|
1693
1691
|
formattedMain: W(
|
|
1694
|
-
g.
|
|
1692
|
+
g.standard_spend > 1e3 ? Math.round(g.standard_spend / 100) * 100 : Math.round(g.standard_spend),
|
|
1695
1693
|
"0.0a"
|
|
1696
1694
|
),
|
|
1697
1695
|
formattedComparison: W(
|
|
1698
|
-
g.
|
|
1696
|
+
g.income > 1e3 ? Math.round(g.income / 100) * 100 : Math.round(g.income),
|
|
1699
1697
|
"0.0a"
|
|
1700
1698
|
)
|
|
1701
1699
|
},
|
|
@@ -1712,9 +1710,7 @@ const L = {
|
|
|
1712
1710
|
};
|
|
1713
1711
|
}),
|
|
1714
1712
|
[r, t]
|
|
1715
|
-
)
|
|
1716
|
-
console.log(_, "chartData");
|
|
1717
|
-
const b = {
|
|
1713
|
+
), b = {
|
|
1718
1714
|
dataKey: "label",
|
|
1719
1715
|
scaleType: "band"
|
|
1720
1716
|
}, x = Math.max(..._.map((g) => Math.max(g.main, g.comparison))), v = Math.ceil(x * 1.2 / 1e3) * 1e3, y = v / 3, D = {
|
package/package.json
CHANGED