##// END OF EJS Templates
Fix mouse event handling with RubberBand...
Fix mouse event handling with RubberBand The mousePressEvent handles the event differently for rubber band only if the mouse press occurs on the plot area. This way pressing the mouse outside plot area will handle the event according to the pressed item (like legend marker). For the same reason the mouseRelease event handles the event differently for rubber band only if the rubber band is displayed. Task-number: QTRD-2260 Change-Id: Ibedcd2d13a7c2229352074a4df326cd73e9cf80f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>

File last commit:

r2393:150f5f56819e
r2609:cff0f629c1c4
Show More
demos-callout.qdoc
14 lines | 492 B | text/plain | TextLexer
/ doc / src / demos-callout.qdoc
/*!
\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)
*/