Graphs drawn while swiping

My phone seems to be set to draw some kinds of graphs. There are some sort of coordinates at the top and when I swipe a blue line forms. It’s extremely annoying and I don’t know how to turn it off. Please help.

Go to settings > developer options and disable “pointer location”.

You might want to disable developer options entirely with the off/on switch at the top if you’re not using any of the developer functionalities.