Uwe,
I've just noticed that QwtData::boundingRect() creates the rectangle every time from scratch.
I've also noticed that except constructors and assigment operator, all other methods are constant.
So, wouldn't it be possible to make the bounding rectangle generated only when the data changes and later just return that cache?
For large data sets it would improve performance considerably.
Is there a reason why it's done this way?
Ps. All above is based on Qwt 5.2.0 which I'm using at the moment. I haven't had time to see if it has changed in 6.x, if it did - I'm sorry for bother you
Cheers!
Bookmarks