Skip to content

Drawing shape performance #5998

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

Closed
toams69 opened this issue Oct 22, 2021 · 2 comments
Closed

Drawing shape performance #5998

toams69 opened this issue Oct 22, 2021 · 2 comments

Comments

@toams69
Copy link

toams69 commented Oct 22, 2021

Hi all,

I have a project with multiple charts display on the same page.
All charts have the same xAxis. I would like to create a common vertical line showing the mouse position on each charts.

To achieve this I am playing with mousemove event and shapes.
The mousemove event and x calculation is working well. If for example I am updating the title of each chart by displaying the x position it is great.

But if I am updating or creating a new shape (the vertical line) when I am moving the mouse very fast, I have a delay...

plotly

Do you have any suggestion to help me to improve this.

@set92
Copy link

set92 commented Oct 27, 2021

I suppose sampling could be a solution? Maybe this helps #560

@gvwilson
Copy link
Contributor

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson

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

3 participants