24

Is there any open-source or free chart library for Qt? I only need XY charts, not bar charts or anything else.

Blackhole
  • 20,129
  • 7
  • 70
  • 68
gruber
  • 28,739
  • 35
  • 124
  • 216

3 Answers3

24

QCustomPlot is a rather compact Qt widget for plotting, with the possibility of extension to your needs, under the GPL license. It has no further dependencies and is fully documented, including internal functions.

Check the QCustomPlot website.

Blackhole
  • 20,129
  • 7
  • 70
  • 68
Luciano Lorenti
  • 601
  • 2
  • 11
  • 22
12

There's two I know of:

  • Qwt

  • QtiPlot: the app is paid, but the code is not I think (you can download the source)

rubenvb
  • 74,642
  • 33
  • 187
  • 332
  • Just FYI: I just found out QtiPlot uses Qwt internally, so it might be better to just use Qwt for all your plotting needs directly :) – rubenvb Nov 27 '10 at 17:40
  • I like the Qt Commercial Charts but they are "Commercial" http://qt.digia.com/Product/Qt-Add-Ons/Charts/ – Lilian A. Moraru Mar 26 '13 at 16:41
4

KD Chart

jacknad
  • 13,483
  • 40
  • 124
  • 194
  • 1
    Where the offical website is http://www.kdab.com/index.php?option=com_content&view=article&id=55&Itemid=65 KD Chart is dual-licensed, commercial and GPL. There is no public download page, one might have to contact KDAB to obtain it. Projects like KOffice also have it in their repositories. – Frank Osterfeld Aug 21 '10 at 15:38
  • perhaps you can get some versions from following repository (check out 28094257): https://projects.kde.org/projects/kde/kdeedu/ktouch/repository/show/src?rev=master – S.M.Mousavi Nov 01 '15 at 06:35