demos-callout.qdoc
14 lines
| 492 B
| text/plain
|
TextLexer
Marek Rosa
|
r2358 | /*! | ||
\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 | ||||
Marek Rosa
|
r2393 | QChart class provides two methods that map between the scene coordinates and the series' domain (defined by the axes ranges). | ||
Marek Rosa
|
r2358 | QPointF QChart::mapToPosition(const QPointF &value, QAbstractSeries *series) | ||
Marek Rosa
|
r2393 | |||
Marek Rosa
|
r2358 | QPointF QChart::mapToValue(const QPointF &position, QAbstractSeries *series) | ||
*/ | ||||