mycontroller-v1-legacy icon indicating copy to clipboard operation
mycontroller-v1-legacy copied to clipboard

[Bug] Graphs are bugged

Open cimba007 opened this issue 7 years ago • 7 comments

@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 avatar Nov 16 '17 19:11 cimba007

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 avatar Nov 16 '17 19:11 cimba007

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

image

cimba007 avatar Nov 17 '17 21:11 cimba007

@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 avatar Nov 17 '17 22:11 cimba007

@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.

cimba007 avatar Jan 09 '18 18:01 cimba007

@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.

jkandasa avatar Jan 10 '18 05:01 jkandasa

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

cimba007 avatar Jan 15 '18 17:01 cimba007

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

jkandasa avatar Feb 18 '18 03:02 jkandasa