Qt Graphs Reference Documentation

Abstract3DAxis

Abstract3DSeries

AbstractAxis

AbstractDataProxy

AbstractSeries

AreaSeries

Axis Handling

Running the Example

Axis Dragging

Overriding Default Input Handling

Translating Mouse Movement to Axis Range Change

Other Features

Axis Formatters

Custom Axis Formatter

QML

Example Contents

Bar3DSeries

BarCategoryAxis

BarDataProxy

BarModelMapper

BarSeries

BarSet

Bars3D

Category3DAxis

Cockpit

Running the Example

Speedometer

Vibration Panel

Vibration Graph Panel

Navigation Map

Primary Flight Display

Custom3DItem

Custom3DLabel

Custom3DVolume

DateTimeAxis

Graph Gallery

Running the Example

Bar Graph

Creating the Application

Setting up the Bar Graph

Adding Data to the Graph

Using Widgets to Control the Graph

Selecting a Row or Column by Clicking an Axis Label

Zooming to Selection

Custom Proxy for Data

Implement a data set

Implement a data proxy

Implement a data mapper

RainfallData

Scatter Graph

Setting up the Scatter Graph

Adding Scatter Data

Replacing Default Input Handling

Extending Mouse Event Handling

Implementing Axis Dragging

Surface Graph

Simple Surface with Generated Data

Multiseries Height Map Data

Topographic Map Data

Selecting the Data Set

Selection Modes

Axis Ranges for Studying the Graph

Custom Surface Gradients

Adding Custom Meshes to the Application

Adding Custom Item to a Graph

Adding Custom Label to a Graph

Removing Custom Item from a Graph

Texture to a Surface Series

Use Custom Input Handler to Enable Zooming and Panning

Highlight an Area of the Surface

A Gradient to the Highlight Series

Example Contents

Graph Printing

Running the Example

GraphPrinter class

Application setup

Setting up the layout and image capture

GraphAnimation

GraphPointAnimation

GraphTransition

Graphs 2D in Qt Widgets

Running the Example

Main View

Manipulating Graph data

Declare a GraphView in Qml

Graphs3D

Graphs3D.SelectionFlag

Graphs3D.ShadowQuality

Graphs3D.ElementType

Graphs3D.OptimizationHint

Graphs3D.CameraPreset

Graphs3D.GridLineType

Graphs3D.RenderingMode

Graphs3D.TransparencyTechnique

GraphsItem3D

GraphsTheme

Customizing Theme

Usage examples

GraphsView

HeightMapSurfaceDataProxy

HelloGraphs

Running the Example

BarGraph

LineGraph

ItemModelBarDataProxy

ItemModelScatterDataProxy

ItemModelSurfaceDataProxy

LegendData

LineSeries

LogValue3DAxisFormatter

Mathematical Equations

Running the Example

Setting up

Parsing the equation

Graphs

Surface

Bars

Scatter

Integrating a QtQuick3D scene

Changing the outlook using QtQuick3D

PieModelMapper

PieSeries

PieSlice

How to construct a minimal Q3DBarsWidgetItem graph

How to construct a minimal Q3DScatterWidgetItem graph

How to construct a minimal Q3DSurfaceWidgetItem graph

Customizing Theme

Usage Examples

Qt Graphs

Using the Module

QtGraphs QML API

C++ API

Building with CMake

Building with qmake

Building a widget application

Articles and Guides

Limiting Features

Qt Graphs for 2D

Qt Graphs for 3D

Qt Graphs Common

Examples

API Reference

Licenses and Attributions

Qt Graphs Configure Options

Main Features

Qt Graphs for 2D Features

Qt Graphs for 3D Features

Qt Graphs Data Handling with 3D

Series

Data Proxies

Item Models and Data Mapping

Other Custom Proxies

Dealing with Real-time Data

Qt Graphs Integration with Qt Quick 3D

Scene Environment

Non-supported Features

Scene Integration

Qt Graphs Interacting with Data in 3D

Interacting with Data

Data Selection Modes

Qt Graphs Known Issues

Qt Graphs for 3D Issues

Qt Graphs Migration from Qt Charts

QML Import Statement

CMake Module Inclusion

Qmake Module Inclusion

Features missing in Qt Graphs

Theme APIs

Enums

Migrating chart series in QML

Migrating Area series

Migrating Bar series

Migrating Donut series

Migrating Line series

Migrating Pie series

Migrating Scatter series

Migrating Spline series

Qt Graphs Migration from Qt DataVisualization

QML Import Statement

CMake Module Inclusion

Qmake Module Inclusion

Widget Application Creation

Requirement to Use OpenGL Backend

Removed classes

Removed APIs

Changed APIs

optimizationHint

renderingMode

renderToImage

ColorGradient and ColorGradientStop

ThemeColor

Data APIs

Camera APIs

Theme APIs

Enums

Qt Graphs Overview for 2D

Graph Types

2D Area Graphs

2D Bar Graphs

2D Donut Graphs

2D Line Graphs

2D Pie Graphs

2D Scatter Graphs

2D Spline Graphs

Qt Graphs Overview for 3D

Graph Types

3D Bar Graphs

3D Scatter Graphs

3D Surface Graphs

Using OpenGL ES for Rendering Data

Selecting Rendering Mode

3D Axes

Customizing 3D Scenes

Customizing Items

Handling Custom Input

Qt Graphs Theme Overview

Qt Graphs Widgets

Using the Module

Building with CMake

Building with qmake

API Reference

Licenses and Attributions

Qt Graphs module topics

Simple Bar Graph

Running the Example

Data

Custom Axis Labels

Switching Series

Simple Scatter Graph

Running the Example

Setting up the Layout

Setting up the Graph

Setting up the Data

Example Contents

Surface Graph Gallery

Running the Example

Height Map

Adding Data to the Graph

Displaying the Data

Spectrogram

Creating a Spectrogram

Polar Spectrogram

Oscilloscope

Data Source in C++

QML Application

Enabling Direct Rendering

Example Contents

Volumetric Rendering

Running the Example

Initializing Volume Item

Slicing into the Volume

Adjusting Volume Transparency

High Definition vs. Low Definition Shader

Example Contents

Scatter3D

Scatter3DSeries

ScatterDataProxy

ScatterSeries

Scene3D

Spline3DSeries

SplineControlAnimation

SplineSeries

Surface3D

Surface3DSeries

SurfaceDataProxy

Value3DAxis

Value3DAxisFormatter

ValueAxis

XYModelMapper

XYPoint

XYSeries

XYSeriesAnimation

graphsline

Qt Graphs C++ Classes

Qt Graphs C++ Classes for 2D

Qt Graphs C++ Classes for 3D

Qt Graphs C++ Classes for Widgets

Qt Graphs C++ Common Classes

Qt Graphs Examples

Qt Graphs Examples for 2D

Examples

Qt Graphs Examples for 3D

Examples

Qt Graphs QML Types

Qt Graphs QML Types for 2D

QML Types

Qt Graphs QML Types for 3D

QML Types

Qt Graphs QML Common Types

QML Types

Qt Graphs Module

Qt Graphs for Widgets

Qt Graphs for QML