From 7b2106adce27f8a0f1978ee6bc832df6d449a33f Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 23 Nov 2020 22:16:33 -0800 Subject: [PATCH] Pass chart data to lines not to the graph itself --- web/pages/components/chart.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/pages/components/chart.tsx b/web/pages/components/chart.tsx index 107698012..6af5eacb6 100644 --- a/web/pages/components/chart.tsx +++ b/web/pages/components/chart.tsx @@ -75,6 +75,7 @@ export default function Chart({ data, title, color, unit, dataCollections }: Cha const line = data && data?.length > 0 ? ( ) : null; return (
- +