In c# I have a panel with thousands of coordinates plotted and need to draw a rectangle to zoom into.
Drawing the rectangle is not a problem.
The problem is drawing the rectangle on top of the data without having to replot the data all the time.
I am using the onPaint
event. I hope someone can understand and help