Qt Charts QML Types

Qt Charts QML API 是在 QML 应用程序中显示图表的直观而简单的方法。

QML 类型

AbstractAxis

用于专门轴类型的基本类型

AbstractBarSeries

用于所有条形图系列类型的抽象父类型

AbstractSeries

所有 Qt Charts 系列类型的基础类型

AreaSeries

在区域图表中显示数据

BarCategoryAxis

为图表坐标轴添加类别

BarSeries

将一系列数据显示为按类别分组的垂直条形图

BarSet

在条形图中代表一组条形

BoxPlotSeries

在方括号图表中显示数据

BoxSet

在箱形须线图中表示一个项目

CandlestickSeries

以蜡烛图表示一系列数据

CandlestickSet

在烛台图中表示单个烛台项目

CategoryAxis

在坐标轴上放置命名范围

CategoryRange

在类别坐标轴上定义范围

ChartView

管理图表系列、图例和坐标轴的图形表示法

DateTimeAxis

在图表坐标轴上添加日期和时间

HBarModelMapper

条形序列的水平模型映射器

HBoxPlotModelMapper

方框图系列的水平模型映射器

HCandlestickModelMapper

烛台系列的水平模型映射器

HPieModelMapper

饼图系列的水平模型映射器

HXYModelMapper

XYSeries 的水平模型映射器

HorizontalBarSeries

将一系列数据显示为按类别分组的水平条形图

HorizontalPercentBarSeries

将一系列分类数据显示为每个类别的百分比

HorizontalStackedBarSeries

将一系列数据显示为堆叠水平条形图,每个类别一个条形图

Legend

显示图表图例

LineSeries

以折线图显示数据

LogValueAxis

在图表坐标轴上添加对数刻度

Margins

定义图表矩形边缘与绘图区域之间的边距

PercentBarSeries

以每个类别的百分比显示一系列分类数据

PieSeries

在饼图中显示数据

PieSlice

在饼图系列中表示单个切片

PolarChartView

在极坐标图中显示数据

ScatterSeries

在散点图中显示数据

SplineSeries

以曲线图形式显示数据

StackedBarSeries

以垂直堆叠的条形图显示数据系列,每个类别一个条形图

VBarModelMapper

条形图系列的垂直模型映射器

VBoxPlotModelMapper

箱形图系列的垂直模型映射器

VCandlestickModelMapper

蜡烛图系列的垂直模型映射器

VPieModelMapper

饼图系列的垂直模型映射器

VXYModelMapper

XYSeries 的垂直模型映射器

ValueAxis

为图表坐标轴添加数值

XYPoint

初始化 XY 系列坐标数据

XYSeries

直线、曲线和散点图系列的基本类型

© 2025 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.