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

Interacting with the X-axis during live data freezes the viewer #121

Open
AbdallaDalleh opened this issue Jun 9, 2021 · 0 comments
Open

Comments

@AbdallaDalleh
Copy link

If you choose live data and then move the X-axis to align the plots, the time slots bar freezes and does not respond but the toolbar seems to still work.

Steps to reproduce:

  1. Plot any PV.
  2. Press live.
  3. Move the horizontal axis during live plot.
  4. Press any time frame button, the viewer does not respond.

This error appears on the browser's console:

Uncaught (in promise) undefined
Uncaught TypeError: Cannot read property 'length' of undefined
at r.drawData (plotly-1.41.2.min.js:7)
at Object.l.syncOrAsync (plotly-1.41.2.min.js:7)
at t (plotly-1.41.2.min.js:7)
at Object.r.call (plotly-1.41.2.min.js:7)
at plotly-1.41.2.min.js:7
at Object.l.syncOrAsync (plotly-1.41.2.min.js:7)
at Object.Nt [as doneFn] (plotly-1.41.2.min.js:7)
at HTMLDocument.A (plotly-1.41.2.min.js:7)

It seems this was a known issue in plotly library. I think upgrading it should solve the issue, so I tried loading plotly-2.0.0.min.js in archViewer.html and everytime I load the viewer the newer version does not load.

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

1 participant