Previously the scaling would be based on all network entries recorded instead of just the network entries displayed. This meant that high transmission or reception rates would cause the scaling to drown out any small entries even if the high rates were not being displayed. This change passes in just the amount of samples needed to fill the block and let's the Sparkline calculate the max internally.
Luckily all the hard work seemed to be done already so this change was a joy to make.
Previously the scaling would be based on all network entries recorded instead of just the network entries displayed. This meant that high transmission or reception rates would cause the scaling to drown out any small entries even if the high rates were not being displayed. This change passes in just the amount of samples needed to fill the block and let's the
Sparkline
calculate themax
internally.Luckily all the hard work seemed to be done already so this change was a joy to make.
Possibly related (#90)