Qt 5.8 | Qt Data Visualization

Qt 5.8.0 Reference Documentation

# 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

- Getting Started
- Data Handling
- Interacting with Data
- Known Issues

## Examples

- Qt Data Visualization Examples

## API Reference

- Qt Data Visualization C++ Classes
- Qt Data Visualization QML Types