I found the below mentioned script on the internet. My goal is to have a script which makes it possible to get variables x and y in return when clicking on the datapoints in