Skip to content

Commit

Permalink
Changed statements chart data order to match tax report
Browse files Browse the repository at this point in the history
  • Loading branch information
rylorin committed Jul 6, 2024
1 parent d0c4a8b commit 0a3244a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ const StatementSummary: FunctionComponent<StatementSummaryProps> = ({ ..._rest }
const theSynthesys = useLoaderData() as StatementsSynthesysEntries;

const datasets: DataSet[] = [
{ label: "Stocks", data: Object.values(theSynthesys).map((item) => Math.round(item.stocks)) },
{
label: "Options",
data: Object.values(theSynthesys).map((item) => Math.round(item.options)),
},
{ label: "Stocks", data: Object.values(theSynthesys).map((item) => Math.round(item.stocks)) },
{
label: "Div+Int",
data: Object.values(theSynthesys).map((item) => Math.round(item.dividends + item.interests)),
Expand Down

0 comments on commit 0a3244a

Please sign in to comment.