0

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 ?

Rajeshwar
  • 11,179
  • 26
  • 86
  • 158

1 Answers1

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