Is there a way to get the pixel cordinates of the points in QCPDataMap ? or is there a way to extract the cordinates of all the scattered points in a graph ?
Asked
Active
Viewed 688 times
0
-
1This question has already been answered http://stackoverflow.com/a/19893615/3113410 – user3113410 Dec 31 '13 at 05:29
1 Answers
0
Use QCpAxis::pixelToCoord
of xAxis and yAxis to convert graph coordinates to px.
If you need global coordinates, use QWidget::mapToGlobal
after that.

Obey-Kun
- 419
- 4
- 9