You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The chart and axes render, but the bars do not. This error is in the console: DOMPropertyOperations.js:142 Error: <rect> attribute height: A negative value is not valid. ("-99.16666666666669").
It appears that the <rect>'s y and height attributes are not being computed correctly.
FWIW, manually reversing the y-axis domain will solve this problem:
<XYPlotheight={height}width={width}yType="ordinal"// manually reverse the y-axis range// subtract top and bottom marginsyRange={[-10,height-40]}>
The text was updated successfully, but these errors were encountered:
Given a typical horizontal bar chart setup:
The chart and axes render, but the bars do not. This error is in the console:
DOMPropertyOperations.js:142 Error: <rect> attribute height: A negative value is not valid. ("-99.16666666666669")
.It appears that the
<rect>
'sy
andheight
attributes are not being computed correctly.FWIW, manually reversing the y-axis domain will solve this problem:
The text was updated successfully, but these errors were encountered: