Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Line graph – joining the dots (responsive) Reply To: Line graph – joining the dots (responsive)

#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.