
Version 8.1.22 RC1 handles it like this. On the left side of the chart the tooltip is thrown to the right and on the right side it's thrown to the left. The problem occurs if the tooltip is greater than half the chart width. In this case it will overflow.
It seems that there's a case to make it revert to centre-position when in the centre of the graph.