This should fix them. The code is somewhat different from the corresponding WPF code, as the line alignment is relative to the tracker position, not the container.
I changed the tracker from a Panel to a Canvas to prevent the lines interfering with the other UI elements; however, I'm not quite sure why this makes a difference.
Discussion question on the main repo reveals that tracker lines are broken at the moment: https://github.com/oxyplot/oxyplot/discussions/1762
This should fix them. The code is somewhat different from the corresponding WPF code, as the line alignment is relative to the tracker position, not the container.
I changed the tracker from a
Panel
to aCanvas
to prevent the lines interfering with the other UI elements; however, I'm not quite sure why this makes a difference.