PDA

View Full Version : How to create a chart in Qt?



QtBegginer
1st July 2014, 16:02
Hello fellows ;-)
First of all i'd like to say I'm just a beginner in Qt.

I'd like to create a line chart in my program and i'm pondering how to do this...
I was thinking about QChartView but i afraid it's only for commercial ;-(.
Is there any easy way to creat nice chart in Qt for free?

Have You any examples of code? I just begining my adventure with Qt and i'm a little bit confused.

Thanks in advance.
Best regards!

ChrisW67
2nd July 2014, 12:26
Take a look at Qwt

Wadashe
2nd July 2014, 19:23
I found Qwt exceedingly difficult to use. I ended up using QCustomPlot instead.
It's relatively easy to use, it has many examples, and it's fully documented.

www.qcustomplot.com

TheBadger
7th July 2014, 11:59
Qwt is definitely an option.

I can not fully agree with:

I found Qwt exceedingly difficult to use.

BUT:
Qwt is a lot more difficult to use because of its limited documentation. I have some experience with other plotting libraries and the Qwt interface is a lot better for me regarding plotting. It is a bit sad that all this power is lost through sometimes difficult to understand classes, due to the lack of documentation.

Regards