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

Suggest, post, or discuss plugins for Deluge
Ultrafusion

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

Postby Ultrafusion » Wed Aug 08, 2007 10:28 pm

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 2835 times

Screenshot-Deluge.png
Screenshot-Deluge.png (12.01 KiB) Viewed 2835 times
Attachments
NetworkGraph.tar.gz
Updated 8/9/07
(5.7 KiB) Downloaded 200 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
OS or Distro: Debian
Location: Chicago, IL, USA
Contact:

Re: Network Activity Graph w/ Preferences

Postby markybob » Wed Aug 08, 2007 11:48 pm

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

Postby Ultrafusion » Fri Aug 10, 2007 2:37 am

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
OS or Distro: Ubuntu
Location: Seattle
Contact:

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

Postby dtg » Mon Sep 10, 2007 4:53 pm

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*

Postby csulok » Tue Oct 09, 2007 8:42 am

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
OS or Distro: OS X 10.6
Location: Louisville, KY
Contact:

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

Postby zachtib » Thu Oct 11, 2007 3:32 pm

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
OS or Distro: Gentoo
Location: Victoria, BC
Contact:

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

Postby andar » Sat Oct 13, 2007 12:20 pm

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
OS or Distro: Debian
Location: Chicago, IL, USA
Contact:

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

Postby markybob » Wed Oct 17, 2007 2:58 am

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


Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 4 guests