Network Activity Graph w/ Preferences *Updated: 8/9/07*

Suggest, post, or discuss plugins for Deluge
Post Reply
Ultrafusion

Network Activity Graph w/ Preferences *Updated: 8/9/07*

Post by Ultrafusion »

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
Screenshot-Network Activity Graph Preferences.png
Screenshot-Network Activity Graph Preferences.png (18.76 KiB) Viewed 5629 times
Screenshot-Deluge.png
Screenshot-Deluge.png (12.01 KiB) Viewed 5629 times
Attachments
NetworkGraph.tar.gz
Updated 8/9/07
(5.7 KiB) Downloaded 336 times
Last edited by Ultrafusion on Fri Aug 10, 2007 2:45 am, edited 1 time in total.
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: Network Activity Graph w/ Preferences

Post by markybob »

Ultrafusion 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.
thanks, this is great stuff. i'll add your changes upstream
Ultrafusion

Re: Network Activity Graph w/ Preferences

Post by Ultrafusion »

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.
dtg
New User
New User
Posts: 7
Joined: Mon Sep 10, 2007 4:45 pm
Location: Seattle

Re: Network Activity Graph w/ Preferences *Updated: 8/9/07*

Post by dtg »

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.
csulok

Re: Network Activity Graph w/ Preferences *Updated: 8/9/07*

Post by csulok »

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 :)
User avatar
zachtib
Leecher
Leecher
Posts: 97
Joined: Thu May 24, 2007 3:26 pm
Location: Louisville, KY
Contact:

Re: Network Activity Graph w/ Preferences *Updated: 8/9/07*

Post by zachtib »

csulok 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 :)
each tab only updates while it is selected, this is to reduce cpu usage rather than update all the tabs all the time
Former Deluge Developer
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Network Activity Graph w/ Preferences *Updated: 8/9/07*

Post by andar »

zachtib wrote:
csulok 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 :)
each tab only updates while it is selected, this is to reduce cpu usage rather than update all the tabs all the time
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.
markybob
Compulsive Poster
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*

Post by markybob »

andar wrote:
zachtib wrote:
csulok 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 :)
each tab only updates while it is selected, this is to reduce cpu usage rather than update all the tabs all the time
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.
i just fixed this in svn rev 2015
Post Reply