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
This problem only occurs when either x or y is set in the domain prop of XYPlot, but not when both are set, nor when the domain prop is not specified.
The error occurs in /src/utils/resolveXYScales.js. I only see the error in the built code, but after trying to parse it out of the unbuilt code I believe it's line 360-361. It's possible to resolve this issue by explicitly specifying both x and y in the scaleType prop on XYPlot.
This problem only occurs when either
x
ory
is set in thedomain
prop ofXYPlot
, but not when both are set, nor when thedomain
prop is not specified.The error occurs in
/src/utils/resolveXYScales.js
. I only see the error in the built code, but after trying to parse it out of the unbuilt code I believe it's line 360-361. It's possible to resolve this issue by explicitly specifying bothx
andy
in thescaleType
prop onXYPlot
.As a way to reproduce, the example on the following line will generate the error if the
scaleType="linear"
prop is removed:https://github.com/spotify/reactochart/blob/0.2.1/examples/src/Examples.jsx#L111
The text was updated successfully, but these errors were encountered: