Use transparent color for negative color in chart part
This commit is contained in:
parent
a48b738c18
commit
d608e3b26b
@ -1211,7 +1211,7 @@ class DolGraph
|
||||
$tmp = str_replace('#', '', $this->datacolor[$i]);
|
||||
if (strpos($tmp, '-') !== false) {
|
||||
$foundnegativecolor++;
|
||||
$color = '#FFFFFF'; // If $val is '-123'
|
||||
$color = 'rgba(0,0,0,.0)'; // If $val is '-123'
|
||||
} else {
|
||||
$color = "#" . $tmp; // If $val is '123' or '#123'
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user