SplineSeries QML Type

SplineSeries 以样条曲线图的形式显示数据。更多

Import Statement: import QtGraphs
In C++: QSplineSeries
Inherits:

XYSeries

属性

信号

详细说明

图形显示平滑的样条线段,通过图形中定义的所有点进行移动。

属性文档

capStyle : Qt::PenCapStyle

控制线条的上限样式。设置为Qt.FlatCapQt.SquareCapQt.RoundCap 之一。默认情况下,上限样式为 Qt.SquareCap。

另请参阅 Qt::PenCapStyle


width : real

线条的宽度。默认情况下,宽度为 2.0。


信号文档

capStyleChanged()

当样条线系列的上限样式发生变化时,将发出该信号。

注: 相应的处理程序是onCapStyleChanged


widthChanged()

该信号在样条线宽度发生变化时发出。

注: 相应的处理程序是onWidthChanged


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