Qt Graphs 2D 的 C++ 类

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

QAbstractAxis

用于专用轴类的基类

QAbstractSeries

所有Qt Graphs 2D 系列类的基类

QAreaSeries

在面积图中呈现数据

QBarCategoryAxis

向图表轴添加类别

QBarModelMapper

条形系列的数据映射器

QBarSeries

以条形图呈现数据

QBarSet

在条形图中表示一组条形

QDateTimeAxis

支持将 DateTime 值添加到图表的坐标轴上

QLegendData

结构体包含要在集合图例标记上显示的信息

QLineSeries

以折线图形式呈现数据

QLogValueAxis

在图表坐标轴上添加对数值

QPieModelMapper

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

QPieSeries

以饼图形式呈现数据

QPieSlice

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

QScatterSeries

以散点图形式展示数据

QSplineSeries

在样条图中呈现数据

QValueAxis

向图表坐标轴添加数值

QXYModelMapper

用于折线、样条和散点系列的模型映射器

QXYSeries

所有 x 和 y 数据系列类的父类

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