The QLineSeries class presents data in line graphs. 更多...
| 頭: |
#include <QLineSeries>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
|
| qmake: |
QT += graphs
|
| 在 QML: | LineSeries |
| 繼承: | QXYSeries |
| Qt::PenCapStyle | capStyle () const |
| QPointF | dataPointCoordinatesAt (qreal x , qreal y ) |
| void | setCapStyle (Qt::PenCapStyle newCapStyle ) |
| void | setWidth (qreal newWidth ) |
| qreal | width () const |
| void | capStyleChanged () |
| void | widthChanged () |
A line graph is used to show information as a series of data points connected by straight lines.
[invokable]
QPointF
QLineSeries::
dataPointCoordinatesAt
(
qreal
x
,
qreal
y
)
返迴 x and y rendercoordinates converted into data point coordinates.
注意: 此函數可以被援引,通過元對象係統和從 QML。見 Q_INVOKABLE .