Hi there, anybody still alive here? I tried really a long time, seems that I won't get it without any help.
Have a QChart with a QdateTimeaxis, embedded in a qwidget, which itself is centralwidged to a mainwindow.
A typical QPointF of a drawn QSeries would be p = QPointF(1.51122e+12, 4.1); // strange x-value due to qdatetime->toMsecSinceEpoche(); y-val common decimal value
Now I'd like to draw some additional information beside that point. I have stored that point separately, so mapFromScene() is already done.
I really tried all of the mapFrom's and mapTo's. Studied the "callout"-example. Seems that I'm blind on this spot.
I would wait to receive coordinates like QPoint(355, 277); but I don't. What am I doing wrong? What is the appropriate order of mapTo's and mapFrom's?
ANY help highly appreciatet.
Cheers, Lars




Reply With Quote
Bookmarks