Hi,
I am new to QWT. Can anyone send me a sample code, how to draw a line using QWT?
Thanks.
AJ.
Hi,
I am new to QWT. Can anyone send me a sample code, how to draw a line using QWT?
Thanks.
AJ.
What kind of line do you mean? You mean a plot (a curve)?
Hi,
Please see the attached image. I wanted to draw a line between A and B as shown in the image.
Regards
AJ.
If you are using a Qwt package from one of the common Linux distributions you probably don't have the Qwt examples.
Download the official Qwt tarball, where you should find enough example code.
Uwe
Thanks for the reply.
I got the idea from examples.
But in my actual requirement, I need to zoom in/out the graph along with the line what I draw.
The zoom in/out is working fine with plot curve and other plots. It is not zoom in/out the line drawn using 'drawLine' function.
How to do it?
Thanks.
-AJ.
Bookmarks