2

I'm writing my first program using Qwt. I've created a QwtCurve object and I used QwtCurve::setData to add my points. Then I attached the plot to my curve and replotted the graph to see the curve.

I have to add a point every 500ms, is there a way to avoid replotting the whole thing every time I add a point?

Jean-Luc
  • 3,563
  • 8
  • 40
  • 78

1 Answers1

0

You may want to consider using QCustomPlot. It's well documented and easy to implement.

If you go this route, the addData() function will do what you are asking.

gotnull
  • 26,454
  • 22
  • 137
  • 203
mzelina
  • 71
  • 2