-
-
Notifications
You must be signed in to change notification settings - Fork 78
WebGL not working #70
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
Comments
Hello, @tusharsadana , would you create an example for us be able to reproduce this slowness ? Not only the type:"scattergl", but also de data and the layout objects 😺 |
Hi, I am using it for plotting custom tdms file, it contained 8 traces with 60k points in each. I plotted with the pure js version using webgl, it works very smoothly but when I try to use this Angular version, it slows down like hell. I can give you snippets of code. |
DOM HTML
Typescript
Data
|
this |
@tusharsadana it's been hard to replicate, but I could find that this many data is making the browser unresponsive sometimes. I believe we need to improve the change detection to avoid this dirty checking or something. Meanwhile, would it be possible for you to send us (via https://pastebin.com/ or another service) this data ? So, we could play with the real example |
You can find the data here, https://drive.google.com/file/d/1Z98LdYFYoiDT9p-xChg6pI2DQ2ojLC67/view?usp=sharing |
even using the type:"scattergl", the plot remains slow, and there is no performance enhancements if it is working fine for you, a little implementation example and doc would be nice in the readme.
The text was updated successfully, but these errors were encountered: