simple thing: better colouring for the statistics

Message boards : BOINC Manager : simple thing: better colouring for the statistics
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
flakinho

Send message
Joined: 5 Dec 12
Posts: 49
United States
Message 60658 - Posted: 3 Mar 2015, 22:49:00 UTC

Dear all,
I would like to request what I think is a very easy thing for the next release of BOINC manager:
To have the color of the statistics ordered in the way they are shown.
I participate in many projects and sometimes I only want to see the evolution of some of them.
As you can see in the image, is not infrequent that lines of the same color overlap making impossible to distinguish anything. In the picture, 2 reds, 2 black and 3 blue overlap.
Would be possible to change the colors automatically depending of what lines are shown?
I mean: if the color red is already used, don't use it again while other colors are available.

Thanks!

Yacob


ID: 60658 · Report as offensive
flakinho

Send message
Joined: 5 Dec 12
Posts: 49
United States
Message 60659 - Posted: 3 Mar 2015, 22:53:43 UTC - in response to Message 60658.  

BTW, I am talking about BOINC 7.2.42 (x64) on Ubuntu Linux 14.04.

Yacob
ID: 60659 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 60660 - Posted: 3 Mar 2015, 23:04:14 UTC - in response to Message 60659.  

Already fixed in 7.4
ID: 60660 · Report as offensive
flakinho

Send message
Joined: 5 Dec 12
Posts: 49
United States
Message 60669 - Posted: 4 Mar 2015, 16:11:25 UTC - in response to Message 60660.  

The last version available for Linux is 7.2.42.
Besides, the 7.4 version for Windows is still suboptimal, in my opinion.
With this "rainbow" schema, when you have many projects, colors are too similar.
Again the same problem.
Take a look at the picture.

ID: 60669 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 60673 - Posted: 4 Mar 2015, 20:10:08 UTC - in response to Message 60669.  

With this "rainbow" schema, when you have many projects, colors are too similar.

That's the thing with lots of projects, there are only a limited number of true colours before they start looking like each other. The colourscheme used is the same as in the Disk tab.

Unless you know of an easier method to distinguish between different problems and still allow for future expansion of the colours used, I'm sure the developers will want to know.
ID: 60673 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 60674 - Posted: 4 Mar 2015, 20:47:20 UTC - in response to Message 60669.  

The last version available for Linux is 7.2.42.

That's not true, Berkeley has Boinc 7.4.22 available for download:

http://boinc.berkeley.edu/download_all.php

Debian has 7.4.23 available for wheezy-backports, Jessie, sid and experimental:

https://packages.debian.org/source/wheezy-backports/boinc

Ubuntu has 7.4.8 for The Utopic Unicorn, and 7.4.23 for The Vivid Vervet:

https://launchpad.net/ubuntu/+source/boinc

And if you add locutusofborg's ppa to Ubuntu trusty, utopic or vivid then you can have Boinc 7.4.41:

https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/locutusofborg-ppa

Updating the regular distro Boinc package is up to that Distro(depends what their policy is)/their package maintainers.

Claggy
ID: 60674 · Report as offensive
flakinho

Send message
Joined: 5 Dec 12
Posts: 49
United States
Message 60675 - Posted: 4 Mar 2015, 21:20:44 UTC - in response to Message 60674.  

The last version available for Linux is 7.2.42.

That's not true, Berkeley has Boinc 7.4.22 available for download:

I meant the last stable version.

Unless you know of an easier method to distinguish between different problems and still allow for future expansion of the colours used, I'm sure the developers will want to know.

Yes, I could imagine one:
show only colors for the projects that you have selected and change them as long as you show/hide more projects.

e.g.:
make a unique list of colors from the most different ones to the most similar ones:

1. red
2. blue
3. green
4. yellow
5. purple
6. orange
7. pink
8. cyan
etc

Now, show the projects in that order. If I have 4 projects, A, B, C, D, and I want to see only B and D, B should be red and D blue.
If I want to see the projects A, C and D, A should be red, C blue and D green.
I think is one of the simplest way to minimize the possibilities of making lines to have too similar colors. Independently of what you are showing.

The disk tab should not have to follow the same profile, because I am not able to compare both tabs at the same time.
For the user, there is no point in being the same colors.

If you want to go even further:
consider the "average work done" on the monthly interval (stats show only one month) as a factor.
The most similar should have the most different colors.
And again, remake the graph every time I change the projects to show.

Am I explaining it correctly?

However, I am just a user. THEY should see what is the best ;)
I am just realizing of a behaviour of the program that is suboptimal.
ID: 60675 · Report as offensive
flakinho

Send message
Joined: 5 Dec 12
Posts: 49
United States
Message 60676 - Posted: 4 Mar 2015, 21:23:28 UTC - in response to Message 60675.  

...consider the "average work done" if you are showing the "user average" or the "host average" of course.
Consider the "total work done" if you are showing the "user total" or the "host total".
ID: 60676 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 60678 - Posted: 4 Mar 2015, 23:23:36 UTC - in response to Message 60675.  

make a unique list of colors from the most different ones to the most similar ones.

That's 16 colours, including white and black before we repeat to similar style colours.



What to do when you have 50+ projects added?
ID: 60678 · Report as offensive
flakinho

Send message
Joined: 5 Dec 12
Posts: 49
United States
Message 60685 - Posted: 5 Mar 2015, 16:14:34 UTC - in response to Message 60678.  

Jord, I am just saying how to assign the color. What order to follow. Not the number of colors.

make a unique list of colors from the most different ones to the most similar ones.

Use 256 colors for that list or 65536 if you like.
ID: 60685 · Report as offensive
Profile Richie

Send message
Joined: 2 Jul 14
Posts: 186
Finland
Message 60689 - Posted: 5 Mar 2015, 18:37:11 UTC

I think "All projects together" is a wrong choice in the beginning if you have more than ten individual things to display at once in a graph. It is a known fact that much less than ten is the amount of "things" that a human can compare and understand in a graph. After that it just becomes a fuzz with exponentially less useful meaning. No matter what colours the lines might have.
ID: 60689 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 60694 - Posted: 5 Mar 2015, 20:56:18 UTC - in response to Message 60685.  
Last modified: 5 Mar 2015, 20:59:00 UTC

Use 256 colors for that list or 65536 if you like.

And I pointed out that after 16 colors, there are no unique colors anymore.
Especially if you go the road of 65,536. At the moment, what's available to use is 256 hues of red, 256 hues of green and 256 of blue, but each project gets its own unique color appointed that is then used in both the Disk and Statistics tabs.
ID: 60694 · Report as offensive
Coleslaw
Avatar

Send message
Joined: 23 Feb 12
Posts: 198
United States
Message 61138 - Posted: 23 Mar 2015, 13:08:28 UTC - in response to Message 60694.  
Last modified: 23 Mar 2015, 13:09:01 UTC

Use 256 colors for that list or 65536 if you like.

And I pointed out that after 16 colors, there are no unique colors anymore.
Especially if you go the road of 65,536. At the moment, what's available to use is 256 hues of red, 256 hues of green and 256 of blue, but each project gets its own unique color appointed that is then used in both the Disk and Statistics tabs.


And what he is saying is that we can de-select which projects are on the graph until he gets down to just the hand full that he wants to compare. When you do this those colors could be adjusted accordingly. Why should WCG stay Green shade number 189? If you only select 8 projects of the 100 you have attached, why can't the colors adjust to those core16 (or less)?
ID: 61138 · Report as offensive
Coleslaw
Avatar

Send message
Joined: 23 Feb 12
Posts: 198
United States
Message 61139 - Posted: 23 Mar 2015, 13:11:09 UTC - in response to Message 60689.  

I think "All projects together" is a wrong choice in the beginning if you have more than ten individual things to display at once in a graph. It is a known fact that much less than ten is the amount of "things" that a human can compare and understand in a graph. After that it just becomes a fuzz with exponentially less useful meaning. No matter what colours the lines might have.


I think that not all screen sizes are adequate to have 10 different graphs listed when one could suffice even better.
ID: 61139 · Report as offensive
Profile Crashguard303

Send message
Joined: 25 Apr 08
Posts: 21
Germany
Message 61482 - Posted: 8 Apr 2015, 17:41:36 UTC
Last modified: 8 Apr 2015, 17:54:48 UTC

Maybe it would just help, if the circles and triangles at the edges were bigger.
Or two-colored lines (hatching / shading).
Or a different line-shaping ("stamping" triangles, circles or boxes, called "brushes" in graphics software).

Apart from changing the line colours, how about this:
If you move the mouse cursor over a line, the corresponding project name is highlighted in the list on the right and / or a tooltip shows the project's name ("data row"'s name).
The tooltip could also show x- (time) and y-values (score).
MS-Excel does this when using diagrams / charts.
ID: 61482 · Report as offensive
Profile Crashguard303

Send message
Joined: 25 Apr 08
Posts: 21
Germany
Message 61573 - Posted: 14 Apr 2015, 13:27:21 UTC - in response to Message 61482.  

...and vice versa:
If you move over a project in the list on the right, the project's line is highlighted in the graph.
ID: 61573 · Report as offensive
flakinho

Send message
Joined: 5 Dec 12
Posts: 49
United States
Message 61618 - Posted: 15 Apr 2015, 14:46:00 UTC - in response to Message 61138.  

And what he is saying is that we can de-select which projects are on the graph until he gets down to just the hand full that he wants to compare. When you do this those colors could be adjusted accordingly. Why should WCG stay Green shade number 189? If you only select 8 projects of the 100 you have attached, why can't the colors adjust to those core16 (or less)?


Thanks, Coleslaw.

Thanks for the suggestions, Crashguard303.

Yacob
ID: 61618 · Report as offensive
Profile Crashguard303

Send message
Joined: 25 Apr 08
Posts: 21
Germany
Message 61631 - Posted: 16 Apr 2015, 12:46:29 UTC - in response to Message 61618.  

And what he is saying is that we can de-select which projects are on the graph until he gets down to just the hand full that he wants to compare. When you do this those colors could be adjusted accordingly. Why should WCG stay Green shade number 189? If you only select 8 projects of the 100 you have attached, why can't the colors adjust to those core16 (or less)?


Thanks, Coleslaw.

Thanks for the suggestions, Crashguard303.

Yacob

Yes, also a good idea.

You're welcome.
ID: 61631 · Report as offensive
Profile Crashguard303

Send message
Joined: 25 Apr 08
Posts: 21
Germany
Message 61632 - Posted: 16 Apr 2015, 13:21:58 UTC - in response to Message 60678.  
Last modified: 16 Apr 2015, 14:15:23 UTC

make a unique list of colors from the most different ones to the most similar ones.

That's 16 colours, including white and black before we repeat to similar style colours.


Had a feeling, now I've seen the link. The C64 palette ;)

What to do when you have 50+ projects added?

Yes, that's a point.

I personally don't have this much, but:
1. How about user-definable color schemes/palettes?
So, nobody else could be blamed for "wrong colors".

2. These user-defined palettes could initially be generated with some nested triangle-functions, working with RGB or HSV / HSL (I prefer HSL, hue-saturation-lightness).
Users could use a slider to set positive H stepsize (and maybe negative L stepsize).

The key: you could use a bigger stepsize than it's used at the moment.
As far as I've got it, H-stepsize at the moment is this small, that you start with red and end with violet.

The current chart uses a kind of:
'let n be the number of projects
'and i the palette color index (0 to n-1)
'and H the hue value array, elements indexed with i, values from 0 to 255, meaning red to violet

for i = 0 to n-1
{
     H[i] = i * 255/(n+1)
}


If H-stepsize would be bigger, there will be more than 1 rainbow in the project's list with hues which are not this "close together":
let tri(x) = x mod 256 'triangle function

H[0] = 0 'start hue at red

for i = 1 to n-1
{
    H[i+1] = tri(H[i] + 255/(n+1) + user_defined)
}


Or even:
H[0] = user_defined1 'start hue at specific color

for i = 1 to n-1
{
    H[i+1] = tri(H[i] + user_defined2)
}

user_defined2 should work good with odd values (even better: prime numbers).


Or some RGB-mixing:
'let R,G and B be color intensity arrays, elements indexed with i, values from 0 to 255, meaning black to full

for i = 1 to n-1
{
 R[i] = tri(i * user_definedR)
 G[i] = tri(i * user_definedG)
 B[i] = tri(i * user_definedB)
}

Works good if each user_definedX is different (or even prime)
ID: 61632 · Report as offensive
Profile Crashguard303

Send message
Joined: 25 Apr 08
Posts: 21
Germany
Message 61644 - Posted: 16 Apr 2015, 18:30:28 UTC
Last modified: 16 Apr 2015, 19:07:25 UTC

Sorry, I couldn't modify the text anymore.
The end has to be like this:

The current chart uses a kind of:
'let n be the number of projects
'and i the palette color index (0 to n-1)
'and H the hue value array, elements indexed with i, values from 0 (red) to 255 (violet, almost red again)

for i = 0 to n-1
{
    H[i] = i * 256/n
}


If H-stepsize would be bigger, there will be more than 1 rainbow in the project's list with hues which are not this "close together":
let tri(x) = x mod 256 'triangle function

H[0] = 0 'start hue at red

for i = 1 to n-1
{
    H[i] = tri(H[i-1] + 256/n + user_defined) 'user_defined works as "spread tweaker", 0 leaves "colour spread" as it is.
}
This code snippet could be more compact (just a loop from 0 to n-1, using a different formula).

But this way it can be compared better with this one:
H[0] = user_defined1 'start hue at specific color

for i = 1 to n-1
{
    H[i] = tri(H[i-1] + user_defined2)
}
user_defined2 should work good with odd values (even better: prime numbers).


Or some RGB-mixing:
'let R,G and B be color intensity arrays, elements indexed with i, values from 0 to 255, meaning black to full

for i = 0 to n-1
{
 R[i] = tri(i * user_definedR)
 G[i] = tri(i * user_definedG)
 B[i] = tri(i * user_definedB)
}
Works good if each user_definedX is different (or even prime)
ID: 61644 · Report as offensive
1 · 2 · Next

Message boards : BOINC Manager : simple thing: better colouring for the statistics

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.