project-nv / night-vision

Highly customizable charting library, created for professional traders
https://nightvision.dev
MIT License
242 stars 57 forks source link

Cursor sync #74

Closed wk1210 closed 1 year ago

wk1210 commented 1 year ago

Description

Hello, I have a question about cursor synchronization. Based on my testing with the code examples, I found that cursor synchronization is done based on the xy coordinate axis. However, I would like to achieve synchronization based on timestamps. Can night vision accomplish this? Do you have any suggestions? Thank you for your response.

Suggested solution

Added some example code showing how to sync cursor based on timestamp.

Alternative

No response

Additional context

No response

Validations

mariusvigariu commented 1 year ago

You should be able to obtain your x/time coordinate using the mapping functions

wk1210 commented 1 year ago

You should be able to obtain your x/time coordinate using the mapping functions

Thank you for your response. I have solved my problem using mapping functions. Thanks again.