本页内容

QScatterSeries Class

QScatterSeries 类用于在散点图中展示数据。更多内容...

头文件: #include <QScatterSeries>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: QT += graphs
在 QML 中: ScatterSeries
继承自: QXYSeries

详细描述

散点数据以一组点的形式显示在图表上。对于每个点,需指定两个值来确定其在横轴和纵轴上的位置。

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