Skipping colors to get more contrast between colors
This commit is contained in:
parent
6a932d0af5
commit
4ebee56acc
1 changed files with 3 additions and 1 deletions
4
vendor/assets/javascripts/branch-graph.js
vendored
4
vendor/assets/javascripts/branch-graph.js
vendored
|
@ -57,7 +57,9 @@
|
|||
|
||||
BranchGraph.prototype.collectColors = function(){
|
||||
for (var k = 0; k < this.mspace; k++) {
|
||||
this.colors.push(Raphael.getColor());
|
||||
this.colors.push(Raphael.getColor(.8));
|
||||
// Skipping a few colors in the spectrum to get more contrast between colors
|
||||
Raphael.getColor();Raphael.getColor();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue