QCustomPlot Discussion and Comments

Can I draw something according to the value in axis?Return to overview

Let say, x-axis has points 1, 2, 3...; y-axis has points 1, 2, 3.
now I want to draw a line from (1,1) to (2,2),
Then when we zoom in, out, or change x,y axes, the line will change accordingly.

how to achieve it? thanks.

Please see the basic plotting tutorial.