-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line graph being rendered incorrectly #2507
Comments
Hello all, any updates on this? |
@Drleugim, without seeing the data, it's a bit difficult to tell what the issue could be, could you please setup a codesandbox for this? |
I don't know exact problem, but I faced with the same problem and solved it by disabling animations. From first thought many re-renders in the same time may cause this problem. While the |
@wastedev, for animations, this is probably due to how the identity of a point is preserved while animating, but I don't have a solution yet for this specific issue. |
Closing the issue until we have a minimal reproducible example. |
Describe/explain the bug
When rendering the line graph the data points are not connected in the expected order even though the data set is set up correctly.
To Reproduce
I can't find a way to reproduce consistently. Sometimes it happens, and sometimes it does not.
I'm not using the most current version of Nivo since I'm tied to node 14 and using the latest version of Nivo causes dependency issues.
Here are the versions of Nivo I'm using:
"@nivo/core": "^0.79.0",
"@nivo/line": "^0.79.0",
"@nivo/pie": "^0.79.0",
Here is a code snip of how I'm setting up.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Desktop (please complete the following information):
Additional context
It happens with small and large data sets
The text was updated successfully, but these errors were encountered: