mycontroller-org / mycontroller-v1-legacy

The Open Source Controller
http://www.MyController.org
Apache License 2.0
148 stars 90 forks source link

[Bug] Graphs are bugged #423

Open cimba007 opened 6 years ago

cimba007 commented 6 years ago

@jkandasa The graphs seem to be bugged (latest chrome)

aufnahme-_1

image

Just by moving the mouse multiple bubbles appear and sometimes even the color changes.

image

Might be realted to this? (F12 browser console)

[Violation] 'setTimeout' handler took 64ms
nv.d3.js:9894 [Violation] 'setTimeout' handler took 58ms
nv.d3.js:9894 [Violation] 'setTimeout' handler took 64ms
nv.d3.js:9894 [Violation] 'setTimeout' handler took 64ms
nv.d3.js:9894 [Violation] 'setTimeout' handler took 60ms

Everytime a timeout occurs one dot is created

cimba007 commented 6 years ago

PS: I updated to nvd3-1.8.7 and angular-nvd3-1.0.9

Still no change after deleting cache

The problem persists trough Microsoft Edge and Chrome (latest version)

cimba007 commented 6 years ago

It has something to do with some kind of timer fired up ...

image

cimba007 commented 6 years ago

@jkandasa I think the "MyController time" widget is the culprit. Everytime the "second" updates a dot is created and a lag orrcurs. After removing the time-widget everything works fine!!

The same issue occurs if the auto-refresh intervall is executed (every 30 for example) a dot is created.

cimba007 commented 6 years ago

@jkandasa Just wanting to let you know I am still here. If you could point me to the function where the graph is filled with new data then I might help you find this thing out.

In addition it would be nice to know where the refresh of the "clock" is happening.

jkandasa commented 6 years ago

@cimba007 When I enable Use interactive guide line I do not see this issue. Seems we need some fix on refresh. image

Yes, your contribution welcome. Please have a look widgets at this location.

cimba007 commented 6 years ago

Can confirm your workaround .. tooltip seems to be lot more smooth

jkandasa commented 6 years ago

@cimba007 looks like this issue should be fixed on dependency https://github.com/krispo/angular-nvd3