Skip to content

fix: label arrays to be delimited by comma and add spaces for line charts #12086

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zenocross
Copy link

@zenocross zenocross commented Jun 9, 2025

Closes #12049

Line controllers apparently didn't have an overridden implementation for DatasetController's getLabelAndValue method.
Kept it within the line controller to not affect anything else.

@etimberg
Copy link
Member

I'm not 100% sure that #12049 is a bug. @LeeLenaleee thoughts?

@LeeLenaleee
Copy link
Collaborator

I agree that it is not visually the most pleasing, but I don't think this is the correct fix.
Since we have a multi line label I think the more appropriate fix would be to multi line the title 🤔

@zenocross
Copy link
Author

zenocross commented Jun 10, 2025

@LeeLenaleee Do you mean we'd want to modify the ', ' to an '\n' or is it something else altogether? Also, does the title text need to be centered?

New impl
Would be fine for a tooltip with a label with the following label array?
["Blue", ["subTitle", "hehe", ["test", "test2"]]]?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing space between multiline label inside tooltip
3 participants