Drawing tools #507
Unanswered
oneart-dev
asked this question in
Q&A
Replies: 2 comments 6 replies
-
Yeah it's the least worked on part of the codebase. snapTo should actually be optional and can be a number or array, it's only used if snap is set to true and used to snap points to the data e.g. high or low etc. I'll raise an item to fix this. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I figure it out. You need pass "trends" props with state of current drawings and fill it with data from onComplete callback. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm stuck adding drawing tools.
First question what I suppose to put in "snapTo" function?
Right now the line is working and showing but the next moment I put second point by mouse click its disappears.
Probably I'm missing some callback or TrendLine need drawer. Can smd point me where to look? All other features are working perfectly fine and I just need to add drawing tools as a last step
Beta Was this translation helpful? Give feedback.
All reactions