Hi all,
I am developing an application in which i have to dynamically update the position of QwtPlotMarker based on the data .
I have used QwtPlotMarker to draw a vertical line and i am calling following code in the timer function to update the position of the marker.
Qt Code:
  1. mx->setXvalue(data);replot();
To copy to clipboard, switch view to plain text mode 
The position of the vertical line is updated but there is a lot of flickering of the plot which is very annoying.
Plz tell me how to update position by using setXvalue() without flickering.
Hope i am clear. I am using qwt version 5.1.1

Raghav