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

fix: make log scale graph have better dynamic range #2090

Merged
merged 2 commits into from
Sep 1, 2024

Conversation

corneliusroemer
Copy link
Contributor

@corneliusroemer corneliusroemer commented Aug 25, 2024

Resolves #2088

Previously, dynamic range of log scale was bad because 0.01 Bytes/second (10e-2) was mapped to 0

Commonly found values for network speed range from 1kB/second (10e3) to 100GB/second (10e8)

As a result, half of the dynamic range was wasted as no values would ever appear between 10e-2 and 10e3.

New:

image

Before:

Stats 2024-08-25 19 21 59

Kit/plugins/Charts.swift Outdated Show resolved Hide resolved
Signed-off-by: Cornelius Roemer <[email protected]>
@exelban exelban merged commit d90f7a0 into exelban:master Sep 1, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

Suggestion: rescale logarithmic network graph to show 1 kB/s closer to y-axis
2 participants