javascript - How to draw line with (x,y) position on svg file object -


i'm trying draw line (x,y) position. have circles on svg object,and line have verticaly aligned circle. under , upper line text. have this

. ____________

var position = $('#circle').position(); 

and have (x,y) position. ive tried make position


hve other x,y circle.

and how can x or y position number?

i have

 d = document.getelementbyid('commentary'); $(d).offset({ top: 61, left: 786});  var position2 = $(d).offset();  console.log(position2); 

but console.log offset(0,0)


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -