[Qt-interest] Qt Charting Component - Feedback Request

Uwe Rathmann Uwe.Rathmann at tigertal.de
Tue Mar 8 12:45:49 CET 2011


Hi Sean,

> I simply wanted to try a different approach and
> to base it on QGraphicsView ...

Well QGraphicsView is some sort of "middleware" sitting on top of QPainter. 
Using it is probably the easier way - in the beginning - but not the light-
weight ( as you wrote ) one. Especially, when you are using an item for each 
point it is the slowest and most memory consuming approach I can imagine ( 
think about 10e6 QObjects ! ) for large curves. But for non technical plots 
( like business charts ) this shouldn't matter. 

Nevertheless your design has several pros - f.e. I often have request, where 
users want to manipulate points with the mouse. And to be honest I would 
love to have the separation of scene and view in Qwt too - hope I will find 
the time some day.

Good luck,
Uwe




More information about the Qt-interest-old mailing list