QLineSeries Class

La classe QLineSeries présente les données sous forme de graphiques linéaires. Plus d'informations...

En-tête : #include <QLineSeries>
CMake : find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake : QT += graphs
En QML : LineSeries
Héritages : QXYSeries

Fonctions publiques

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

Signaux

Description détaillée

Un graphique linéaire est utilisé pour présenter des informations sous la forme d'une série de points de données reliés par des lignes droites.

Documentation des fonctions membres

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

Renvoie les coordonnées de rendu x et y converties en coordonnées de points de données.

Remarque : cette fonction peut être invoquée via le système de méta-objets et à partir de QML. Voir 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.