Steps to reproduce:
- Use the chart's container as the tooltip container;
- Show a tooltip on some points close to the edge of the chart;
- WRONG. The tooltip is shown outside the container or can be clipped depending on the container's overflow setting.
EXPECTED. The tooltip should be shown inside its container until it fits container size.