diff --git a/uhepp-js/src/components/UheppHist.jsx b/uhepp-js/src/components/UheppHist.jsx index 5185d41fb6c870240dd1c19079aeca06b294ba2c..d15e1c04bb05d6c67a2f81ad3698feb36a424836 100644 --- a/uhepp-js/src/components/UheppHist.jsx +++ b/uhepp-js/src/components/UheppHist.jsx @@ -757,6 +757,7 @@ const UheppHist = ({width, height, uhepp}) => { /> </Group> + { (post_uhepp.ratio && post_uhepp.ratio.length > 0) && <Group top={margin.top + margin.sep + yMax} left={margin.left}> <g clipPath="url(#ratio-clip)"> <Ratio @@ -852,7 +853,7 @@ const UheppHist = ({width, height, uhepp}) => { tickLength={4} tickTransform="translate(0, 4)" /> - </Group> + </Group> } </svg> </div> )