-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
BUG: Custom tooltip not rendering background #5980
Comments
@musmuris unfortunately the We've been working on a number of PRs recently for "scriptable" options that support a function (see #5973, #5976, etc). I think we could support those here so ultimately what would happen is that you would set CC @simonbrunel @nagix @kurkle thoughts? |
@kurkle @benmccann thoughts on this? My thoughts are:
|
Dont know how much work it is to make it into a plugin, but I think that renaming it to |
@kurkle thoughts on the above rename? |
Sounds good! |
Closing since |
When implementing a custom tootltip, the background is only under the title and not the title and the body.
Example at https://codepen.io/anon/pen/zyMRdG
Expected that the background should be covering the whole tootip
The options section is as follows:
My reason for a custom one is to override the title color depending on underlying data. A workaround is just to set the color like above but then implement the
title
andlabel
callbacks, but it should be possible to just update the custom tooltip model in one go I thought?The text was updated successfully, but these errors were encountered: