-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
visible: true
ignored if x, y data arrays are empty
#2861
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
Comments
Thanks for writing in! I think what #1310 (comment) is suggesting should be considered a breaking change and should probably be added to our v2 wishlist in #420. In the meantime, I think setting |
Alright, I'll do that for now. I'll leave this issue open so you can move/close at your discretion. |
I think I have that same problem. Trying do create an animation frame where dates are inconsistently distributed. |
Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson |
When rending a trace with no data, it can be desirable to always show a legend item even if there are no data points. (Example: user-editable data; if the user deletes all the data it would be nice to stay consistent and just show an empty trace with a legend entry.)
I thought this was possible with
visible: true
, but that appears to not be the case. See this example for more (add values tox
andy
and note that the legend pops in along with the data, i.e., it is not present if the data is not present).#1310 (comment) suggests this would be desirable behavior, but I see no other issues mentioning it.
The text was updated successfully, but these errors were encountered: