Skip to content

I want to change the white line inside the tooltip box. #10923

Answered by Udemology
JangCool asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @JangCool ,

I have been explore this as well. I could not find a solution to directly remove the white border. I wonder where that is coming from.

However I did find a simple workaround. Convert the colorbox into a pointstyle 'rect' and it will remove the white inner border. Perhaps this workaround is an option.

tooltip: {
            usePointStyle: true,
            callbacks: {
              labelPointStyle: (context) => {
                return {
                  pointStyle: 'rect',
                };
              }
            }
          }

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JangCool
Comment options

@Udemology
Comment options

Answer selected by JangCool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants