Open kevinhinterlong opened 4 years ago
The tooltip position function checks if it's right edge would be past the right edge of the chart and moves it back to the left so that it stays aligned with the right edge https://github.com/c3js/c3/blob/f339e290a7ddd73221e9ffe01cba6356951e22d7/src/tooltip.js#L200-L203
Current Behavior: Without hiding hovered datapoints:
Possible implementation from yahoo/navi
The tooltip position function checks if it's right edge would be past the right edge of the chart and moves it back to the left so that it stays aligned with the right edge https://github.com/c3js/c3/blob/f339e290a7ddd73221e9ffe01cba6356951e22d7/src/tooltip.js#L200-L203
Current Behavior:
Without hiding hovered datapoints:
![after](https://user-images.githubusercontent.com/12093492/74572911-7b686b80-4f45-11ea-875c-06f24e3d7e07.gif)
Possible implementation from yahoo/navi