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

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

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.
GPa.1
GPa.1Best answer
Associate II
June 8, 2021

Hi!

Try with indexToScreenX(index) / indexToScreenY(index)

Regards!

2 replies

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: