Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Plotly Tooltip position should be dynamic based on cursor position?

I created Plotly graph in Angular2 using this Example, I want to move tool tip right side when cursor goes to extreme left and move tool tip left side when cursor goes extreme right side.Please Guide.