Dessiner un callout au-dessus d'un graphique

Note : Ceci fait partie de l'exemple de la galerie Charts with Widgets.

Capture d'écran montrant l'appel d'un point aléatoire de deux graphiques

La classe QChart fournit deux méthodes qui établissent une correspondance entre les coordonnées de la scène et le domaine de la série (défini par les plages des axes).

QPointF QChart::mapToPosition(const QPointF &value, QAbstractSeries *series)

QPointF QChart::mapToValue(const QPointF &position, QAbstractSeries *series)

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