Tooltip text center

In same Graph, I have another doubt,

graph

How to make the Tooltip text as center(Both Title and Body), I am change the text in Tooltip callback, I could not find anyway in documentation.

Author: Fantashit

1 thought on “Tooltip text center

  1. @Makesaa unfortunately the tooltip callback isn’t enough. What you’ll need to do is to clone the repository and then modify the function I mentioned above so that it has different logic. I think it would need to always return the following:

    {
      xAlign: 'center',
      yAlign: 'top'
    }

Comments are closed.