Skip to content Skip to sidebar Skip to footer

Change Tool-tip Direction In React-chartjs2

I have implemented the react-chartjs2 https://www.npmjs.com/package/react-chartjs-2 in my react app. I have implemented it successfully but i need to change the direction of the to

Solution 1:

options: {
    tooltips: {
      yAlign: "bottom"
    }
}

The problem is I don't know a way that the caret is in the middle of your box.

Solution 2:

I think you need to add more configuration for your tooltip

Check what you can use for position and alignment of your Tooltip

Post a Comment for "Change Tool-tip Direction In React-chartjs2"