How can make a curve in Qt with values from MySQL
i have a question about curve´s in Qt. In the docu i don´t find antything. Have anybody a idea that i can do this?
I have a picture from a another software with curve´s.
Alex from Germany
Hi, you can draw curves from your mysql data by using QPainter.
Have a look at the QPainter Class and there are several examples that maybe useful for your task.
Qwt is also a great plotting library. I use it for both static and real-time plotting.
[quote author="dvez43" date="1395231338"]Qwt is also a great plotting library. I use it for both static and real-time plotting.
Habe you a simple description for use this?
"Download":http://qwt.sourceforge.net the project from the website and look at the examples directory. There should be plenty there for you to go off from.
- Construct the plot
- Add any legends or anything you want to add to the canvas
- Set your data points into the plot
- Set your plot to auto scale or set the scale to how you want it
The docs are great for it.
I have found a Video by YouTube. Is this the right way to install qwt?