-
Notifications
You must be signed in to change notification settings - Fork 738
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
Avoid partially hiding of chart tooltip near chart ends #1516
Conversation
16ed7fe
to
f8216db
Compare
f8216db
to
2ae940a
Compare
What problem does this PR solve? The linked issue doesn't help a lot. |
Thank you for testing. I will check and try to fix issues you found. Unfortunately only to check screen boundaries was not enough, in some situations a part of the chart is covered by other elements with higher z-order (header, footer etc.) and thus the chart tooltip can be covered by this elements too. |
This can't be always solved by flipping the direction alone. A 100% working solution would be to render the chart tooltip as RadzenTooltip which attaches at the |
Good point, thank you. I would close this PR and try to reimplement the chart tooltip as RadzenTooltip and create a new PR later. Should it be configurable whether to use RadzenTooltip instead of chart tooltip or should I simple replace current chart tooltip? |
Hi @maxbruecken, Replacing the chart tooltip with RadzenTooltip would be a big task so be prepared :)
No as it would be very hard to explain why such an option even exists. However the current look and feel and behavior should be preserved as much as possible. |
Added new chart tooltip CSS classes to show tooltip without cutting near ends of the chart. This fixes #560.