I have something close, the hints can take position , which is an alias for the function stored in Chart.Tooltip.positioners . This function returns the x and y position for the tooltip.
You can add custom to adjust x to offset.
The only problem is that by adjusting x, the layout (left / right direction) of the tooltip can change the value, which even after development, if the tip of the tool is halfway or above half way, and then adjusts x, it switches its layout value the tooltip in the middle will look strange, because it is shifted in the wrong direction.
This could be fixed, knowing the width of the tooltip and considering this, but looking at the data provided by the function, this is not indicated.
In any case, leaving this as an answer, you get most of your path, and you / someone can figure out how to get rid of this annoying last part.
<div class="container"> <div> <canvas id="myChart"></canvas> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.4.0/Chart.bundle.min.js"></script>
source share