Qt Charts Reference Documentation

Creating Area Charts

Creating Bar Charts

Using Data Models with Bar Charts

Creating Box-and-Whiskers Charts

Drawing a Callout on Top of a Chart

Creating Candlestick Charts

Changes to Qt Charts

QtCharts Namespace

OpenGL Acceleration in QML

Creating Charts With Themes

Creating Charts

Changing Theme

Changing Animation, Legend and Anti-Aliasing

Customizing Charts

Line Charts with Date and Time Axes

Running the Example

Creating Line Charts

Creating a Donut Breakdown Chart

Creating Donut Breakdown Charts

Creating Horizontal Bar Charts

Creating Horizontal Percent Bar Charts

Creating Horizontal Stacked Bar Charts

Qt Charts

Using the Module

QML API

C++ API

Building with CMake

Building with qmake

Module Evolution

Articles and Guides

Examples

API Reference

Licenses

Detaching and Attaching Legends

Using Legend Markers

Combining Line and BarChart

Creating Line Charts

Using Logarithmic Value Axes

Using Model Data

Using Multiple Axes

Creating Nested Donut Charts

Qt Charts Overview

Chart Types

Line and Spline Charts

Area and Scatter Charts

Bar Charts

Pie Charts

Box-and-Whiskers Charts

Candlestick Charts

Polar Charts

Axes

Legend

Interacting with Charts

Drawing Data Dynamically

Drilling Down into Data

Zooming and Scrolling

Clicking and Hovering

Themes

Creating Percent Bar Charts

Selected Point Configuration

Features Demonstrated

Running the Example

Subclass QMainWindow

Create a Line Series

Create the Point Configuration Controls

Populate the Controls upon Selecting a Point

Provide the Logic to Configure the Selected Point

Create the Chart and Lay out the Controls

Using Light Markers and Points Selection

Creating Polar Charts

Using Axes with QML

Customizing Chart Views with QML

Customizing Legends

Using List Models as Data Sources in QML

Using Polar Charts with QML

Creating Scatter Charts

Changing the Color and State of Bars

Creating Spline Charts

Creating Stacked Bar Charts

Displaying Temperature Records with Negative Bars

Qt Charts module topics

Implementing Drilldown

Audio Samples vs Sound Level

Running the Example

Retrieving the audio data

Setting up the chart

The x-axis "Samples"

The y-axis "Audio Level"

Attaching the axes and setting the chart title

Laying out the chart

Using the audio input data

XYSeriesIODevice

Charts with Widgets Gallery

Running the Example

OpenGL Accelerated Series Example

Running the Example

Enabling OpenGL Acceleration

Charts with QML Gallery

Running the Example

Including dependencies

Creating charts with QML

More charts

Qml Oscilloscope

Running the Example

Creating Views

Qml Weather

Running the Example

Using Charts in Qt Quick Applications

Zoom Line Example

Running the Example

Customizing Zooming Effects

AbstractAxis

AbstractBarSeries

AbstractSeries

AreaSeries

BarCategoryAxis

BarSeries

BarSet

BoxPlotSeries

BoxSet

CandlestickSeries

CandlestickSet

CategoryAxis

CategoryRange

ChartView

DateTimeAxis

HBarModelMapper

HBoxPlotModelMapper

HCandlestickModelMapper

HPieModelMapper

HXYModelMapper

HorizontalBarSeries

HorizontalPercentBarSeries

HorizontalStackedBarSeries

Legend

LineSeries

LogValueAxis

Margins

PercentBarSeries

PieSeries

PieSlice

PolarChartView

ScatterSeries

SplineSeries

StackedBarSeries

VBarModelMapper

VBoxPlotModelMapper

VCandlestickModelMapper

VPieModelMapper

VXYModelMapper

ValueAxis

XYPoint

XYSeries

Qt Charts Examples

Qt Charts C++ Classes

Qt Charts QML Types

QML Types