fix areaBaselineValue

This commit is contained in:
mantikoros 2022-07-19 18:20:03 -05:00
parent bab828412b
commit b48e910f70

View File

@ -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}