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" enableSlices="x"
enableGridX={!!width && width >= 800} enableGridX={!!width && width >= 800}
enableArea enableArea
areaBaselineValue={isBinary ? 0 : contract.min} areaBaselineValue={isBinary || isLogScale ? 0 : contract.min}
margin={{ top: 20, right: 20, bottom: 65, left: 40 }} margin={{ top: 20, right: 20, bottom: 65, left: 40 }}
animate={false} animate={false}
sliceTooltip={SliceTooltip} sliceTooltip={SliceTooltip}