Skip to main content
BParh.1
Senior III
June 8, 2021
Solved

How to get X position of current plotted data in Dynamic Graph?

  • June 8, 2021
  • 1 reply
  • 1009 views

In Dynamic Graph widget, when we call API addDataPoint(), this will return the index of the added value. But how to get the x position?

This topic has been closed for replies.
Best answer by GPa.1

Hi!

Try with indexToScreenX(index) / indexToScreenY(index)

Regards!

1 reply

GPa.1
GPa.1Best answer
Associate II
June 8, 2021

Hi!

Try with indexToScreenX(index) / indexToScreenY(index)

Regards!

BParh.1
BParh.1Author
Senior III
June 10, 2021

Thank you @GPa.1​ , you saved my day :grinning_face: