QtCharts module
Go to file
Qt Submodule Update Bot 4fda8d6403 Update dependencies on 'dev' in qt/qtcharts
Change-Id: If2f73468a3b7c95d9d15db11c374e753c7bdaff3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-05 17:44:52 +00:00
LICENSES Add REUSE.toml files and missing licenses 2024-10-28 10:37:26 +02:00
coin Make module ready for source SBOM checking 2025-02-24 10:42:40 +01:00
dist Remove year from Qt Copyright in REUSE.toml 2025-07-14 09:46:40 +02:00
examples mark qmlweather examples main.qml as security sensitive 2025-04-24 09:16:05 +03:00
plugins Mark the whole repo with QT_NO_CONTEXTLESS_CONNECT 2024-01-12 16:03:31 +02:00
src Fix a typo in QAbstractBarSeriesPrivate::insert() 2025-06-05 11:08:59 +02:00
tests Skip tst_QLineSeries::qlineseries::GL when OpenGL is not available 2025-08-13 09:36:53 +00:00
tools/demoLauncher Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-24 01:37:18 +02:00
.cmake.conf Bump version to 6.11.0 2025-06-14 09:40:13 +01:00
.gitattributes Moved manual tests to separate directory. 2014-11-11 12:44:27 +02:00
.gitignore Ignore QML cache files 2018-02-28 12:55:44 +00:00
.gitreview Add .gitreview file 2025-03-24 17:26:44 +01:00
.tag Update the git-archive export options 2013-10-03 14:13:28 +03:00
CMakeLists.txt Move `qt_internal_project_setup` as early as possible 2025-06-20 15:26:28 +02:00
README Merge remote-tracking branch 'origin/5.6' into 5.7 2016-08-23 09:13:20 +02:00
REUSE.toml Remove year from Qt Copyright in REUSE.toml 2025-07-14 09:46:40 +02:00
configure.cmake Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-24 01:37:18 +02:00
dependencies.yaml Update dependencies on 'dev' in qt/qtcharts 2025-09-05 17:44:52 +00:00
licenseRule.json Update licensing of files with infrastructure type 2025-03-12 16:05:18 +01:00
qt_cmdline.cmake Add configure.cmake 2021-01-06 14:29:50 +01:00

README

---------------
Qt Charts
---------------

Qt Charts module provides a set of easy to use chart components. It uses
the Qt Graphics View Framework, therefore charts can be easily integrated
to modern user interfaces.

System Requirements
===================

- Qt 5.4 or newer
- For QML applications QtQuick 2 is required
- Manipulating Qt Charts graphs with QML Designer requires Qt Creator 3.3 or newer

Building
========

Configure the project with qmake:
    qmake

After running qmake, build the project with make:
    (Linux) make
    (Windows with MinGw) mingw32-make
    (Windows with Visual Studio) nmake
    (OS X) make

The above generates the default makefiles for your configuration, which is typically
the release build if you are using precompiled binary Qt distribution. To build both
debug and release, or one specifically, use one of the following qmake lines instead.

For debug builds:
    qmake CONFIG+=debug
    make
  or
    qmake CONFIG+=debug_and_release
    make debug

For release builds:
    qmake CONFIG+=release
    make
  or
    qmake CONFIG+=debug_and_release
    make release

For both builds (Windows/OS X only):
    qmake CONFIG+="debug_and_release build_all"
    make

After building, install the module to your Qt directory:
    make install

If you want to uninstall the module:
    make uninstall

Building as a statically linked library
=======================================

The same as above applies, you will just have to add static to the CONFIG:
    qmake CONFIG+=static

Documentation
=============

The documentation can be generated with:
    make docs

The documentation is generated into the doc folder under the build folder.
Both Qt Assistant (qtcharts.qch) and in HTML format (qtcharts subfolder)
documentation is generated.

Please refer to the generated documentation for more information:
    doc/qtcharts/qtcharts-index.html

Known issues
============

- Zooming too far or too close may eventually freeze the zooming and scrolling.