Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag of JavaScript Chart Editable Annotations at the time of insertion #181

Open
sakshamjaiswal1 opened this issue Jan 31, 2023 · 5 comments

Comments

@sakshamjaiswal1
Copy link

We are using JavaScript Chart Editable Annotations but we need some more modificaions in that which can enhance this feature in terms of user experience.
Currently when the anonations are loaded they are havinng a fixed shape but we want the annotations to be draggable as soon as they are loaded in the charts whitout any extra clicks,this feature is provided by tradingView charts and we also want to provide the same to our users.
I have attached images and videos for better understanding of the issue.
Hope we can get the solution of this issue asap.

Please refer to the below video link for beter understanding.
https://www.scichart.com/wp-content/sabai/File/files/l_58835d6c84c3ee425515c6f130db83d3.jpg

@andyb1979
Copy link
Collaborator

Hi there, is this the same requirement as this forum question?

If so, we don't support this right now, but David (@antichaosdb) our CTO thinks it should be possible via a custom modifier. He was looking at it recently. David - any thoughts?

@andyb1979
Copy link
Collaborator

Actually, the forum question I linked to has David's answer. Can you check it?

Curious why you didn't receive an email notification of updated answer

@sakshamjaiswal1
Copy link
Author

hey i have just now checked the answer but did not able to get few of the concepts can i get a working example so that i can implement it and run in my app it will be very helpfull if i can get codepen working demo
@andyb1979 Thnks in advance

@andyb1979
Copy link
Collaborator

understand, David did mention in the forum post that he plans to make a full example at some point however we have other priorities at the moment.

My advice for now is take the example we posted in github here. Substitute the CreateAnnotationModifier here. Does this show the concept?

Basically what we're doing is overriding our ChartModifierBase API to allow you to control precisely what interactions happen on mouse-down and how to place annotations + edit them immediately.

@andyb1979
Copy link
Collaborator

@sakshamjaiswal1 I sent you an email (unrelated to this issue) asking what you're making, I'm keen to hear more about the project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants