Skip to content

Group By legend item missing for TypedArray if target == 0 #4497

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

Closed
tboerstad opened this issue Jan 18, 2020 · 1 comment · Fixed by #4526
Closed

Group By legend item missing for TypedArray if target == 0 #4497

tboerstad opened this issue Jan 18, 2020 · 1 comment · Fixed by #4526
Assignees
Labels
bug something broken

Comments

@tboerstad
Copy link

tboerstad commented Jan 18, 2020

I am using a typed array as the groups variable to a Group By transform.
This works as intended, except for the label text disappearing if the target value is 0.
Other target values work fine.

See example, where the 0 target has an empty trace name:
https://codepen.io/tboerstad/pen/NWPOMde

I'm not aware if there is anyway to specify the trace name when using typed arrays, if it is, it would
be possible to use that as a work around.

@etpinard
Copy link
Contributor

See example, where the 0 target has an empty trace name:

Found it:

image

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
2 participants