QtDataVisualization Namespace

Contains the classes and enumerations in the Qt Data Visualization module. More...

Header: #include <QtDataVisualization>

Functions

QSurfaceFormat qDefaultSurfaceFormat(bool antialias)

Detailed Description

Contains the classes and enumerations in the Qt Data Visualization module.

Q3DBars

Methods for rendering 3D bar graphs

Q3DCamera

Representation of a camera in 3D space

Q3DInputHandler

Basic wheel mouse based input handler

Q3DLight

Representation of a light source in 3D space

Q3DObject

Simple base class for all the objects in a 3D scene

Q3DScatter

Methods for rendering 3D scatter graphs

Q3DScene

Description of the 3D scene being visualized

Q3DSurface

Methods for rendering 3D surface plots

Q3DTheme

Visual style for graphs

QAbstract3DAxis

Base class for the axes of a graph

QAbstract3DGraph

Window and render loop for graphs

QAbstract3DInputHandler

Base class for implementations of input handlers

QAbstract3DSeries

Base class for all data series

QAbstractDataProxy

Base class for all data visualization data proxies

QBar3DSeries

Represents a data series in a 3D bar graph

QBarDataItem

Container for resolved data to be added to bar graphs

QBarDataProxy

The data proxy for a 3D bars graph

QCategory3DAxis

Manipulates an axis of a graph

QCustom3DItem

Adds a custom item to a graph

QCustom3DLabel

Adds a custom label to a graph

QCustom3DVolume

Adds a volume rendered object to a graph

QHeightMapSurfaceDataProxy

Base proxy class for Q3DSurface

QItemModelBarDataProxy

Proxy class for presenting data in item models with Q3DBars

QItemModelScatterDataProxy

Proxy class for presenting data in item models with Q3DScatter

QItemModelSurfaceDataProxy

Proxy class for presenting data in item models with Q3DSurface

QLogValue3DAxisFormatter

Formatting rules for a logarithmic value axis

QScatter3DSeries

Represents a data series in a 3D scatter graph

QScatterDataItem

Container for resolved data to be added to scatter graphs

QScatterDataProxy

The data proxy for 3D scatter graphs

QSurface3DSeries

Represents a data series in a 3D surface graph

QSurfaceDataItem

Container for resolved data to be added to surface graphs

QSurfaceDataProxy

The data proxy for a 3D surface graph

QTouch3DInputHandler

Basic touch display based input handler

QValue3DAxis

Manipulates an axis of a graph

QValue3DAxisFormatter

Base class for value axis formatters

Function Documentation

QSurfaceFormat QtDataVisualization::qDefaultSurfaceFormat(bool antialias)

This convenience function can be used to create a custom surface format suitable for use by Qt Data Visualization graphs.

The antialias parameter specifies whether or not antialiasing is activated.

Give the surface format returned by this function to the graph constructor (C++) or set it as the window format for QQuickView (QML) before calling show() on it.

For example, disable antialiasing on C++ application:

#include <QtDataVisualization/qutils.h>

// ...

Q3DBars *graph = new Q3DBars(QtDataVisualization::qDefaultSurfaceFormat(false));

For example, enable antialiasing for direct rendering modes on QML application:

#include <QtDataVisualization/qutils.h>

// ...

QQuickView viewer;
viewer.setFormat(QtDataVisualization::qDefaultSurfaceFormat());

Note: Antialiasing is not supported in OpenGL ES2 environments.

© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.