Performance graph example
-
Hello!
I want to build a performance widget usingQtto display the download progress, cpu/ram usage etc. I want something like in the screenshot below:Should I use the
QGraphicsSceneorQSplineSerieswithQChartto achieve it? I have/extract the actual data, but want to display it in the graphs. Thanks. -
Good. I will try it. Thanks.
-
Good. I will try it. Thanks.
@Cobra91151
Are you already using Qt Charts in your application? If not, just checking you are OK about licensing implication. -
@Cobra91151
Are you already using Qt Charts in your application? If not, just checking you are OK about licensing implication.I am working on the website now. Will check it later. What do you mean regarding
Qt Charts? -
I am working on the website now. Will check it later. What do you mean regarding
Qt Charts?@Cobra91151
I am just checking that you aware if you choose to start using Qt Charts for this then your own code has to become GPL, and therefore you must release the source code if you distribute the binary. Which you may or may not care about (e.g. if your code is only for your own use). Or buy a Qt commercial licence. Just a heads-up if it influences your decision. -
@Cobra91151
I am just checking that you aware if you choose to start using Qt Charts for this then your own code has to become GPL, and therefore you must release the source code if you distribute the binary. Which you may or may not care about (e.g. if your code is only for your own use). Or buy a Qt commercial licence. Just a heads-up if it influences your decision.Ok. This applies for all Qt versions regarding the
Qt Chartsor only the latest? For example, when usingQt 5.9.9? -
Ok. This applies for all Qt versions regarding the
Qt Chartsor only the latest? For example, when usingQt 5.9.9?@Cobra91151
All. Qt Charts has always been (so far as I know) GPL/Commercial, never LGPL.I don't blame you for wishing to use Qt Charts. I would too on one project I'm working on. But that's not an option if you want to keep source closed but can't afford/don't want to pay for the commercial licence. As I said, just a heads-up before you commit to your way forward.
-
@Cobra91151
All. Qt Charts has always been (so far as I know) GPL/Commercial, never LGPL.I don't blame you for wishing to use Qt Charts. I would too on one project I'm working on. But that's not an option if you want to keep source closed but can't afford/don't want to pay for the commercial licence. As I said, just a heads-up before you commit to your way forward.
Good, I understand. I have not decided what to choose yet. I do not think that Qt Charts would be useful in my case. I would prefer something like this: https://www.youtube.com/watch?v=eSHTXQbPquk

I think it was done using
QPainter. It should work well forLinux, but need to reimplement it forWindows. Thanks. -
Good, I understand. I have not decided what to choose yet. I do not think that Qt Charts would be useful in my case. I would prefer something like this: https://www.youtube.com/watch?v=eSHTXQbPquk

I think it was done using
QPainter. It should work well forLinux, but need to reimplement it forWindows. Thanks.@Cobra91151
Hi
Since you dont need zoom and panning etc, using QPainter should work
super.
