From aa5a356defec7670bec34978792bbf0a62dd37e2 Mon Sep 17 00:00:00 2001 From: geracosta Date: Sun, 23 Aug 2026 14:33:07 -0300 Subject: [PATCH] add net worth graph --- src/components/Match/matchPages.tsx | 2 ++ src/components/Visualizations/Graph/MatchGraph.tsx | 1 + src/global.d.ts | 1 + src/lang/en-US.json | 1 + 4 files changed, 5 insertions(+) diff --git a/src/components/Match/matchPages.tsx b/src/components/Match/matchPages.tsx index 9601a1b2c8..0dce0753aa 100644 --- a/src/components/Match/matchPages.tsx +++ b/src/components/Match/matchPages.tsx @@ -287,6 +287,8 @@ const matchPages = ( // sponsorIcon={gosuIcon} /> + + diff --git a/src/components/Visualizations/Graph/MatchGraph.tsx b/src/components/Visualizations/Graph/MatchGraph.tsx index 68409d332b..20113b46c3 100644 --- a/src/components/Visualizations/Graph/MatchGraph.tsx +++ b/src/components/Visualizations/Graph/MatchGraph.tsx @@ -369,6 +369,7 @@ const MatchGraph = ({ type === "gold" || type === "xp" || type === "lh" || + type === "networth" || type === "hero_damage" || type === "hero_healing" || type === "camps_stacked" diff --git a/src/global.d.ts b/src/global.d.ts index d2939cbce3..9850be7ea2 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -107,6 +107,7 @@ type MatchPlayer = { desc: string; lane: number; gold_t: number[]; + networth_t: number[]; hero_damage_t: number[]; hero_healing_t: number[]; camps_stacked_t: number[]; diff --git a/src/lang/en-US.json b/src/lang/en-US.json index c22119641f..4a17400f62 100644 --- a/src/lang/en-US.json +++ b/src/lang/en-US.json @@ -344,6 +344,7 @@ "heading_graph_gold": "Gold", "heading_graph_xp": "Experience", "heading_graph_lh": "Last Hits", + "heading_graph_networth": "Net Worth", "heading_graph_hero_damage": "Hero Damage", "heading_graph_hero_healing": "Hero Healing", "heading_graph_camps_stacked": "Camps Stacked",