MChart implements some simple yet meaningful and eye friendly charts to display data. It's based on ChartJs2QML: QML Bindings for Chart.js.
- Clone this repository.
- Run
git submodule update --init --recursive
to check out and initialize ChartJs2QML subproject. - Add
mcharts.pri
into yourqmake
project or useadd_subdirectory
to addMCharts
to yourCMake
project. - Prepare a class that will provide data for MChart. For more information you can look at provided examples.
- Compile and enjoy.
For example usage, see the examples. This project is fully documented - please check doxygen docs or see the comments directly in the source file(s).
This project is licensed under the MIT license - see the LICENSE-MiloCodeDB.txt file for details. The giants on whose shoulders it is based - ChartJs2QML and Chart.js are both available under MIT license as well.
Here are some examples showing barcode scanner:
Charts running on Ubuntu desktop Doughnut chart on Windows Pie chart on Windows Polar chart on Windows