summaryrefslogtreecommitdiffstats
path: root/doc/src/demos-callout.qdoc
blob: 46b72639a1c0421bf0134c19318fd4a12e4435e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*!
     \example demos/callout
     \title Callout demo
     \subtitle

     This demo shows how to draw an additional element (a callout) on top of the chart.
     \image demos_callout.png

     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)
*/