From 49541d3eec310a168d894e4fd26736b47f30f26c Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Tue, 9 Aug 2022 10:08:14 -0700 Subject: [PATCH] Stop interpolating on portfolio value graph --- web/components/portfolio/portfolio-value-graph.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/components/portfolio/portfolio-value-graph.tsx b/web/components/portfolio/portfolio-value-graph.tsx index 50a6b59a..d1dae0bd 100644 --- a/web/components/portfolio/portfolio-value-graph.tsx +++ b/web/components/portfolio/portfolio-value-graph.tsx @@ -61,7 +61,8 @@ export const PortfolioValueGraph = memo(function PortfolioValueGraph(props: { min: Math.min(...points.map((p) => p.y)), }} gridYValues={numYTickValues} - curve="monotoneX" + curve="stepAfter" + enablePoints={false} colors={{ datum: 'color' }} axisBottom={{ tickValues: numXTickValues,