summaryrefslogtreecommitdiffstats
path: root/src/charts/doc/src/examples-callout.qdoc
blob: 1f5f8dccff60f461ea869f720d096cf41fb527b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*!
     \example callout
     \title Callout example
     \ingroup qtcharts_examples

     \brief This example shows how to draw an additional element (a callout) on top of the chart.
     \image examples_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)
*/