QLineSeries Class

Die Klasse QLineSeries stellt Daten in Liniendiagrammen dar. Mehr...

Kopfzeile: #include <QLineSeries>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: QT += graphs
In QML: LineSeries
Vererbt: QXYSeries

Öffentliche Funktionen

Qt::PenCapStyle capStyle() const
QPointF dataPointCoordinatesAt(qreal x, qreal y)
void setCapStyle(Qt::PenCapStyle newCapStyle)
void setWidth(qreal newWidth)
qreal width() const

Signale

Detaillierte Beschreibung

Ein Liniendiagramm wird verwendet, um Informationen als eine Reihe von Datenpunkten darzustellen, die durch gerade Linien verbunden sind.

Dokumentation der Mitgliedsfunktionen

[invokable] QPointF QLineSeries::dataPointCoordinatesAt(qreal x, qreal y)

Gibt x und y in Datenpunktkoordinaten umgewandelte Renderkoordinaten zurück.

Hinweis: Diese Funktion kann über das Meta-Objektsystem und von QML aus aufgerufen werden. Siehe Q_INVOKABLE.

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