Home › Forums › JavaScript › Line graph – joining the dots (responsive) › Reply To: Line graph – joining the dots (responsive)
September 4, 2014 at 12:16 am
#181581
Soronbe
Participant
No, the problem was that .offset() returns the coordinates of the upper left corner. But seeing the ball resizes, these wouldn’t be constant which sucks because I need the center. So now the ball resizes within the container and is centered within it so we can easily find the ball’s center through the container. This actually was the last bug I was talking about.