Qt Data Visualization
Qt Data Visualization module provides a way to visualize data in 3D.
Features
- Multiple data visualization options: 3D Bars, 3D Scatter, and 3D Surface
- 2D slice views of the 3D data
- Interactive data: rotate, zoom, and highlight data using mouse or touch
- Uses OpenGL for rendering the data
- QML2 support
- Customizable axes for data
- Control viewable data window with axis ranges
- Customize value axis grid lines and labels with axis formatters
- Polar horizontal axes support for surface and scatter graphs
- Customizable input handling
- Customizable themes
- Custom items and labels can be added to any graph
- Ready-made data proxies to visualize data from Qt item models and height maps
- Perspective and orthographic projections
- Volumetric custom items
Getting Started
To import Qt Data Visualization QML types, add the following import statement to your .qml
file:
import QtDataVisualization 1.2
If you intend to use Qt Data Visualization C++ classes in your application, use the following include and using directives:
#include <QtDataVisualization> using namespace QtDataVisualization;
Note: If you are only using a few classes from this module, we recommend including only those specific classes instead of the whole module.
To link against the Qt Data Visualization module, add this line to your qmake
project file:
QT += datavisualization
See the Getting started page for further information on how to use Qt Data Visualization in your application.
Articles
References
Qt Data Visualization comes with the following examples:
Simple application showing real time audio data. | |
Using Q3DBars in a widget application. | |
Implementing custom input handler in a widget application. | |
Adding custom items to a surface graph. | |
Using Q3DBars with a custom proxy. | |
Implementing a custom input handler to support axis dragging. | |
Using an item model as data source for Q3DBars. | |
Implementing axis dragging in QML | |
Example of a hybrid C++ and QML application demonstrating different axis formatters. | |
Using Bars3D in a QML application. | |
Customizing input in a QML application. | |
Showing graph legend in a QML application. | |
Showing multiple graphs simultaneously in a QML application. | |
Example of a hybrid C++ and QML application. | |
Using Scatter3D in a QML application. | |
Showing spectrogram graph in a QML application. | |
Using Surface3D in a QML application. | |
Using multiple series with Surface3D in a QML application. | |
Using rotated scatter items | |
Using Q3DScatter in a widget application. | |
Using Q3DSurface in a widget application. | |
Using texture with Q3DSurface. | |
Rendering volumetric objects. |