@mx-cartographer/experiences 7.2.15-alpha-ram21-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,7 +1682,9 @@ const L = {
|
|
|
1682
1682
|
totalComparison: d,
|
|
1683
1683
|
totalMain: l
|
|
1684
1684
|
}) => {
|
|
1685
|
-
const p = E(), h = so(p.breakpoints.down("xs"))
|
|
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: {
|
|
@@ -1707,7 +1709,9 @@ const L = {
|
|
|
1707
1709
|
};
|
|
1708
1710
|
}),
|
|
1709
1711
|
[r, t]
|
|
1710
|
-
)
|
|
1712
|
+
);
|
|
1713
|
+
console.log(_, "chartData");
|
|
1714
|
+
const b = {
|
|
1711
1715
|
dataKey: "label",
|
|
1712
1716
|
scaleType: "band"
|
|
1713
1717
|
}, x = Math.max(..._.map((g) => Math.max(g.main, g.comparison))), v = Math.ceil(x * 1.2 / 1e3) * 1e3, y = v / 3, D = {
|
|
@@ -1805,8 +1809,8 @@ const L = {
|
|
|
1805
1809
|
height: 240,
|
|
1806
1810
|
margin: { top: 20, bottom: 30, right: 10, left: 42 },
|
|
1807
1811
|
series: [
|
|
1808
|
-
{ dataKey: "
|
|
1809
|
-
{ dataKey: "
|
|
1812
|
+
{ dataKey: "main", type: "bar" },
|
|
1813
|
+
{ dataKey: "comparison", type: "bar" }
|
|
1810
1814
|
],
|
|
1811
1815
|
xAxis: [b],
|
|
1812
1816
|
yAxis: [D],
|
package/package.json
CHANGED