Fix chart area extending into labels below

This commit is contained in:
James Grugett 2022-07-19 17:22:58 -05:00
parent 6124ea01f6
commit 58d6286361

View File

@ -150,7 +150,8 @@ export const ContractProbGraph = memo(function ContractProbGraph(props: {
enableSlices="x" enableSlices="x"
enableGridX={!!width && width >= 800} enableGridX={!!width && width >= 800}
enableArea enableArea
margin={{ top: 20, right: 20, bottom: 25, left: 40 }} areaBaselineValue={isBinary ? 0 : contract.min}
margin={{ top: 20, right: 20, bottom: 65, left: 40 }}
animate={false} animate={false}
sliceTooltip={SliceTooltip} sliceTooltip={SliceTooltip}
/> />