Closed thadk closed 1 month ago
In #238, I've added console.log's in the default component of single.tsx for how to access each of the data structures with extra comments as well.
For this one, please especially reference this part: https://github.com/codeforboston/home-energy-analysis-tool/blob/23ef2bb786d3f4b24aa619ab647cf5ef3f572f31/heat-stack/app/routes/_heat%2B/single.tsx#L471-L481
Made good headway on this issue this week, see the 221_usage_chart branch.
Usage:
https://stackoverflow.com/a/56150320
Output from Rules Engine when it runs in pyodide.test.ts for passing into React component prop/parameter (use
reviver
to convert back toMap()
) :Pretty excerpts:
Existing EnergyUseHistoryChart: