Qt Charts Reference Documentation

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

Changes to Qt Charts

QtCharts Namespace

OpenGL Acceleration in QML

Changing the Color and State of Bars

Charts with QML Gallery

Running the Example

Including dependencies

Creating charts with QML

More charts

Charts with Widgets Gallery

Running the Example

Combining Line and BarChart

Creating Area Charts

Creating Bar Charts

Creating Box-and-Whiskers Charts

Creating Candlestick Charts

Creating Charts With Themes

Creating Charts

Changing Theme

Changing Animation, Legend and Anti-Aliasing

Creating Horizontal Bar Charts

Creating Horizontal Percent Bar Charts

Creating Horizontal Stacked Bar Charts

Creating Line Charts

Creating Nested Donut Charts

Creating Percent Bar Charts

Creating Polar Charts

Creating Scatter Charts

Creating Spline Charts

Creating Stacked Bar Charts

Creating a Donut Breakdown Chart

Creating Donut Breakdown Charts

Customizing Chart Views with QML

Customizing Charts

Customizing Legends

Detaching and Attaching Legends

Displaying Temperature Records with Negative Bars

Drawing a Callout on Top of a Chart

Implementing Drilldown

Line Charts with Date and Time Axes

Running the Example

Creating Line Charts

OpenGL Accelerated Series Example

Running the Example

Enabling OpenGL Acceleration

Qml Oscilloscope

Running the Example

Creating Views

Qml Weather

Running the Example

Using Charts in Qt Quick Applications

Qt Charts

Using the Module

QML API

C++ API

Building with CMake

Building with qmake

Module Evolution

Articles and Guides

Examples

API Reference

Licenses

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

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 Axes with QML

Using Data Models with Bar Charts

Using Legend Markers

Using Light Markers and Points Selection

Using List Models as Data Sources in QML

Using Logarithmic Value Axes

Using Model Data

Using Multiple Axes

Using Polar Charts with QML

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