Replies: 3 comments 11 replies
-
JKQTPEnhancedPainter, drawPolyLineFast Im finding that QPainter drawPolyline has some signifigant performace issues. Just by moving to a loop and using QPainter::drawLine, Ive seen an average of 250% speed increase in drawing lines. Continuing to dig into this. |
Beta Was this translation helpful? Give feedback.
-
Setting up SetX, SetY, and SetXY to have a No-ReDraw overload option, and using that when updating the multiple axis/datapoints then calling redraw at the end of everything significantly improved performance by nearly double for the live graph example, which setX then redrew the plot. framerate went from 30fps to about 60fps, based off a QTimer::singleshot set to 10ms after every frame update. |
Beta Was this translation helpful? Give feedback.
-
I want to generate a line Graph which has no more than 1000 line every line has 512 points. is this be supported |
Beta Was this translation helpful? Give feedback.
-
Just wanted to start a discussion on this to keep track of what I'm finding/ trying to improve, and for suggestions/solutions.
This push started because while using the live-data sample graph, while the performance for 1 graph was ok enough for my uses,
while trying to add multiple graphs performance was significantly poorer than will meet my needs, as well as running into a weird rendering bug seemingly caused by the performance drop.
Beta Was this translation helpful? Give feedback.
All reactions