Same issue i am stucked in. there are two props you can use shiftX
and shiftY
. i am facing similar kind of issue, i have horizontal bar chart and it is taking unnecessary 60 pixels exactly. if you will checkout its github repo you will find out it is default added by them.