From b48e910f703f11401986d62ee798bcd4af633bfe Mon Sep 17 00:00:00 2001 From: mantikoros Date: Tue, 19 Jul 2022 18:20:03 -0500 Subject: [PATCH] fix areaBaselineValue --- web/components/contract/contract-prob-graph.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/contract/contract-prob-graph.tsx b/web/components/contract/contract-prob-graph.tsx index c829c646..bafb84fe 100644 --- a/web/components/contract/contract-prob-graph.tsx +++ b/web/components/contract/contract-prob-graph.tsx @@ -150,7 +150,7 @@ export const ContractProbGraph = memo(function ContractProbGraph(props: { enableSlices="x" enableGridX={!!width && width >= 800} enableArea - areaBaselineValue={isBinary ? 0 : contract.min} + areaBaselineValue={isBinary || isLogScale ? 0 : contract.min} margin={{ top: 20, right: 20, bottom: 65, left: 40 }} animate={false} sliceTooltip={SliceTooltip}