-
-
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
Toggle off lines on the chart based on the data. #2481
Comments
I have the same request |
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! |
hello @charlieAJC @adambrakhane i created a PR that would support your request #2540, could you kindly verify if this is what you need? |
bump |
bump! |
Is your feature request related to a problem? Please describe.
Here is a codesandbox of the chart.
https://codesandbox.io/p/sandbox/nivo-line-hide-line-4ttz26
I click the legend “computer 1” and “computer 4” to hide both lines where all values are 0.
But I hope these two lines hidden by default.
Describe the solution you'd like
A parameter that allows determining whether a line is displayed based on the data in the line chart.
The text was updated successfully, but these errors were encountered: