Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make charts/graphs (such as line graphs, bar graphs, circle graphs), etc. in C++, Qt, QML, Blackberry 10 Cascades Beta 3 SDK?

I need to know how to make charts/graphs in Blackberry 10 Cascades Beta 3 SDK, QML, Qt, C++. If anyone can show me an example or point me to something that shows me how to do this, it would be much appreciated.

like image 887
user1296259 Avatar asked Oct 24 '12 20:10

user1296259


3 Answers

You should check out QChart.js:

http://jwintz.me/blog/2014/02/15/qchart-dot-js-qml-binding-for-chart-dot-js/

https://github.com/jwintz/qchart.js

Screenshot of QChart.js Gallery

Update The Qt Company will release QtCharts in 5.7 under GPL http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/

like image 75
vpicaver Avatar answered Oct 07 '22 04:10

vpicaver


One way to create graphs im Qt and QML is to add a Webview and use html library to display graphs. I have used flot and found it quite flexible.

like image 41
JuliusG Avatar answered Oct 07 '22 04:10

JuliusG


Here is simple QML wrapper for QCustomPlot: https://github.com/ncp1402/ql-lineplot

like image 39
user2053898 Avatar answered Oct 07 '22 05:10

user2053898