In not so many words, I've updated the Network Activity Graph plugin by giving it a preference dialog.
Things you can change:
- Whether graph lines and fills are shown for upload and download graphs individually
- The colors for lines and fills
- Line width
- Whether mean speed is shown
- Whether max speed is shown
I coded it on a whim for myself, but figured I should share.
Update: 8/9/07
- Added Legend
- Better handling for graph size when only one of the two graphs is shown
- A few little tweaks
Network Activity Graph w/ Preferences *Updated: 8/9/07*
Network Activity Graph w/ Preferences *Updated: 8/9/07*
- Attachments
-
- NetworkGraph.tar.gz
- Updated 8/9/07
- (5.7 KiB) Downloaded 345 times
Last edited by Ultrafusion on Fri Aug 10, 2007 2:45 am, edited 1 time in total.
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: Network Activity Graph w/ Preferences
thanks, this is great stuff. i'll add your changes upstreamUltrafusion wrote:In not so many words, I've updated the Network Activity Graph plugin by giving it a preference dialog.
Things you can change:
- Whether graph lines and fills are shown for upload and download graphs individually
- The colors for lines and fills
- Line width
- Whether mean speed is shown
- Whether max speed is shown
I coded it on a whim for myself, but figured I should share.
Re: Network Activity Graph w/ Preferences
I updated it again. I decided to give the graph a legend, and make it better handle when only one of the two graphs are displayed. If I end up adding anything further, I'll post it here as well.
I am going to go up and add a few screen shots as well.
I am going to go up and add a few screen shots as well.
Re: Network Activity Graph w/ Preferences *Updated: 8/9/07*
Not sure if this is intentional but why is it in a tab at the bottom and displaying network traffic for all of deluge? That seems counter intuitive because every other tab represents data/information about the selected torrent and not overall information.
Re: Network Activity Graph w/ Preferences *Updated: 8/9/07*
is it just me, or does the graph only update when it's visible at everybody else too?
if this is the intended version, i'd like to suggest a change in this behaviour
if this is the intended version, i'd like to suggest a change in this behaviour
Re: Network Activity Graph w/ Preferences *Updated: 8/9/07*
each tab only updates while it is selected, this is to reduce cpu usage rather than update all the tabs all the timecsulok wrote:is it just me, or does the graph only update when it's visible at everybody else too?
if this is the intended version, i'd like to suggest a change in this behaviour
Former Deluge Developer
Re: Network Activity Graph w/ Preferences *Updated: 8/9/07*
The graphic doesn't need to be updated, but the stats should be updated irregardless to the visibility of the tab. That way when the tab is presented the data can be used to properly show the past usage while graph was not in view.zachtib wrote:each tab only updates while it is selected, this is to reduce cpu usage rather than update all the tabs all the timecsulok wrote:is it just me, or does the graph only update when it's visible at everybody else too?
if this is the intended version, i'd like to suggest a change in this behaviour
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: Network Activity Graph w/ Preferences *Updated: 8/9/07*
i just fixed this in svn rev 2015andar wrote:The graphic doesn't need to be updated, but the stats should be updated irregardless to the visibility of the tab. That way when the tab is presented the data can be used to properly show the past usage while graph was not in view.zachtib wrote:each tab only updates while it is selected, this is to reduce cpu usage rather than update all the tabs all the timecsulok wrote:is it just me, or does the graph only update when it's visible at everybody else too?
if this is the intended version, i'd like to suggest a change in this behaviour