-
-
Notifications
You must be signed in to change notification settings - Fork 764
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial implementation of custom scale for network charts. WIP. Fixes #844. #1746
Initial implementation of custom scale for network charts. WIP. Fixes #844. #1746
Conversation
@exelban, did you get a chance to look into this? Any feedback? Regarding the To-Do's: Let me know what you think 馃槈 |
I don't have a time. Will take a look next week. But I'm not sure I understand what do you want to archive with feature. |
hi. Sorry, but have no time this week. Looking at this PR there are a lot of things that are not finished: all the todos that you leave. Also what about the situation when io goes over the limit? How to represent that if there is be locked max value? |
Hi.
We will have to go with option 2 unfortunately. I'd love to help more, but as said I'm a complete noob in MacOS development and I simply don't know how to complete the missing parts. I think it should be relatively simple though (mostly some UI tweaks), but I think it's best if you do it yourself, whenever you get some time. What do you mean by "transform" this into the issue? Just reopen the issue so you can track it properly? Or is there anything else I should do?
The chart will simply be maxed out (saturated, completely filled). This is what happens already with my current implementation in the PR. I don't think that's a problem, as it's how all apps handle it, or at least all the apps I've seen. It's probably what users will expect when enabling this feature. |
it will be enough to open the issue with a proposal. And copy past your messages there. Also you can notice that PR. What do you mean the chart will be maxed out? If there will be a fixed max value how could it go out from that range? |
Ok, will do 馃憤馃徎
Sorry, I didn't explain myself properly. By "maxed out" I mean the chart will simply be full, at 100%. If the scale is set to 1 Gbps but your throughput is 1.1 Gbps, then the graphical representation will be the same as if the throughput was 1 Gbps. The numeric values will allow you to see the real value of course. If you test my PR you'll see the chart simply goes to 100% in this case. The nice thing is, if the user expects this to happen frequently (e.g.. some ISPs "overprovision" fiber speeds), you can always set the max value to be something like 10% higher than your "official speed" (1.2 Gbps in this case). |
New issue created: #1787 |
Please note, this is my first time ever developing for MacOS, or using Swift, or even using Xcode for development 馃槄
As a result, I apologize in advance for any errors or terrible practices I may have used here!
What's implemented:
Things I couldn't figure out how to do by myself:
Hope this is at least helpful as a starting point ;-)