本页内容

Qt Graphs 用于 2D 的 QML 类型

可通过以下 QML 类型访问Qt Graphs 的 2D 功能。

QML 类型

AbstractAxis

用于专用轴类型的基类型

AbstractSeries

所有 Qt Graphs 系列类型的基类

AreaSeries

用于在面积图中呈现数据

BarCategoryAxis

为图表的坐标轴添加类别

BarModelMapper

条形系列的数据模型映射器

BarSeries

在条形图中呈现数据

BarSet

在条形图中表示一组条形

DateTimeAxis

将 DateTime 项添加到图表的坐标轴上

GraphAnimation

Type是所有2DQt Graphs 系列动画的基础类型

GraphPointAnimation

一种表示点动画的动画类型

GraphTransition

用于定义所有动画的容器

GraphsView

所有Qt Graphs 视图的基类

LineSeries

以折线图形式呈现数据

LogValueAxis

向图表的坐标轴添加数值

PieModelMapper

用于饼图系列的模型映射器

PieSeries

以饼图形式展示数据

PieSlice

表示饼图系列中的单个扇区

ScatterSeries

该类型以散点图形式展示数据

SplineControlAnimation

一种表示样条控制点动画的动画类型

SplineSeries

以样条图形式呈现数据

ValueAxis

向图表的坐标轴添加数值

XYModelMapper

用于 XYSeries 的模型映射器

XYPoint

初始化 XY 系列坐标数据

XYSeries

所有 x 和 y 系列类型的父类型

XYSeriesAnimation

一种表示点动画的动画类型

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