Qt 5.7 | Qt Charts | Callout Example

Qt 5.7.1 Reference Documentation

# Callout Example

QChart class provides two methods that map between the scene coordinates and the series domain (defined by the axes ranges).

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

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

Files:

- callout/callout.cpp
- callout/callout.h
- callout/view.cpp
- callout/view.h
- callout/main.cpp
- callout/callout.pro