milosolutions / mcharts

QML convenience wrapper for JS charts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MCharts

Online documentation

Source code

MCharts on Android

Getting Started

MChart implements some simple yet meaningful and eye friendly charts to display data. It's based on ChartJs2QML: QML Bindings for Chart.js.

How to use

  1. Clone this repository.
  2. Run git submodule update --init --recursive to check out and initialize ChartJs2QML subproject.
  3. Add mcharts.pri into your qmake project or use add_subdirectory to add MCharts to your CMake project.
  4. Prepare a class that will provide data for MChart. For more information you can look at provided examples.
  5. 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).

License

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.

Gallery

Here are some examples showing barcode scanner:

Charts running on Ubuntu desktop

Charts running on Ubuntu desktop

Doughnut chart on Windows

Doughnut chart on Windows

Pie chart on Windows

Pie chart on Windows

Polar chart on Windows

Polar chart on Windows

About

QML convenience wrapper for JS charts.

License:Other


Languages

Language:QML 98.8%Language:CMake 1.0%Language:QMake 0.2%