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
When passing in a custom multi-line legend to the ScatterPlotCanvas, the legend data is not being used properly, causing all ids to appear in each row, causing an overflow. I am using @nivo/scatterplot@0.79.1.
I tried to create a code sandbox for it, but I was getting a blank canvas / react errors consistently.
Expected behavior
Expected behavior would be that the legend only shows population_1 through population_8 on the first line, and then the remaining ids on the next row.
Desktop (please complete the following information):
OS: [e.g. iOS] macOS
Browser [e.g. chrome, safari] Chrome
Version [e.g. 22] 99
Additional context
I was having a similar problem in bar charts, but upgrading to @nivo/bar@0.72.0 fixed it. Looking at the changelog, I think it was this commit 3f0bb4e that did it?
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!
Describe/explain the bug
When passing in a custom multi-line legend to the
ScatterPlotCanvas
, the legend data is not being used properly, causing all ids to appear in each row, causing an overflow. I am using@nivo/scatterplot@0.79.1
.To Reproduce
Using the following legend data:
Getting the following result in my app:
I tried to create a code sandbox for it, but I was getting a blank canvas / react errors consistently.
Expected behavior
Expected behavior would be that the legend only shows
population_1
throughpopulation_8
on the first line, and then the remaining ids on the next row.Desktop (please complete the following information):
Additional context
I was having a similar problem in bar charts, but upgrading to
@nivo/bar@0.72.0
fixed it. Looking at the changelog, I think it was this commit 3f0bb4e that did it?The text was updated successfully, but these errors were encountered: