mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixes colors in dygraph plotters
This commit is contained in:
parent
7b8886ad37
commit
42e37fc41d
3 changed files with 12 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ function darkenColor(colorStr) {
|
|||
color.r = Math.floor((255 + color.r) / 2);
|
||||
color.g = Math.floor((255 + color.g) / 2);
|
||||
color.b = Math.floor((255 + color.b) / 2);
|
||||
return 'rgb(' + color.r + ',' + color.g + ',' + color.b + ')';
|
||||
return 'rgb(' + color.r + ',' + color.g + ',' + color.b + ', 0.9)';
|
||||
}
|
||||
|
||||
/* *********************************************** */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue