flutterhole icon indicating copy to clipboard operation
flutterhole copied to clipboard

DNS spikes cause graphs to be unreadable

Open djh82 opened this issue 4 years ago • 3 comments

Screenshot_20200613-100953

As can be seen in the attached picture, a DNS spike causes the axis labels to be unreadable.

Using pihole 5 with flutterhole 5.1.2.

djh82 avatar Jun 13 '20 09:06 djh82

Maybe kHorizontalLineInterval should be dynamically calculated based on the largest value - then you could guarantee how many labels were present for every graph ever displayed?

djh82 avatar Jun 13 '20 09:06 djh82

Awesome app BTW!

djh82 avatar Jun 13 '20 11:06 djh82

Hello @davidhart82 👋 - Thanks for opening an issue!

That is indeed one bad looking graph.

Maybe kHorizontalLineInterval should be dynamically calculated based on the largest value - then you could guarantee how many labels were present for every graph ever displayed?

That is a good idea. The graph implementation is quite messy and partially hardcoded, so there is some room for improvement. Will look into making the horizontal step size dynamic.

sterrenb avatar Jun 13 '20 11:06 sterrenb