Plotting advanced graphs with QML
-
wrote on 14 Dec 2015, 12:59 last edited by
Hi, I am looking for good solutions of making advanced customizable 2d graphs plots in QML.
What solutions exest? or do I have to create my own in C++? -
wrote on 14 Dec 2015, 13:49 last edited by
Best solution for me, so fare is using qcustomplot with following extension:
http://www.qcustomplot.com/index.php/support/forum/172
QCustomPlot it under the GPL... but commercial licence is available
-
Hi, I am looking for good solutions of making advanced customizable 2d graphs plots in QML.
What solutions exest? or do I have to create my own in C++?wrote on 14 Dec 2015, 18:30 last edited by -
wrote on 16 Dec 2015, 13:39 last edited by
I have used QChart (=port of Chart.js). Chart.js works pretty well if you need basic charting (for instance no interaction with the chart). The Qml port relies on an old Chart.js version which does not support multi-axis. Also you have to pass well-proprocessed data to the chart to get correct axis labeling, grids, etc.
Qt also offers a charting component with the professional licenses but I have not tried this.
-
I have used QChart (=port of Chart.js). Chart.js works pretty well if you need basic charting (for instance no interaction with the chart). The Qml port relies on an old Chart.js version which does not support multi-axis. Also you have to pass well-proprocessed data to the chart to get correct axis labeling, grids, etc.
Qt also offers a charting component with the professional licenses but I have not tried this.
wrote on 16 Dec 2015, 14:46 last edited by vishnu -
wrote on 23 Dec 2015, 11:11 last edited by
QChart is static (no pinch, drag, etc.). It just displays the data - everything else has to be developed by yourself. The QChart project includes a sample Qml file which you can use for testing.
-
wrote on 22 Jan 2016, 15:51 last edited by
-
wrote on 25 Jan 2016, 11:17 last edited by
@Vincent007
Is it free of cost? I see that It will be included in 5.6. How about adding it to 5.5? any idea? Thanks -
@Vincent007
Is it free of cost? I see that It will be included in 5.6. How about adding it to 5.5? any idea? Thankswrote on 27 Jan 2016, 14:57 last edited by@vishnu Yes, if you can accept GPL. I tried Qt charts in Qt 5.6. It works. You can build Qt charts by yourself. http://doc.qt.io/QtCharts/qtcharts-getting-started.html