mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-01 11:47:14 -06:00
Do not round pie chart values. #506
This commit is contained in:
parent
1c5dc6ab6d
commit
9ec3febbfa
@ -111,7 +111,7 @@ class ChartJsGenerator implements GeneratorInterface
|
||||
$value = bcmul($value, '-1');
|
||||
}
|
||||
|
||||
$chartData['datasets'][0]['data'][] = round($value, 2);
|
||||
$chartData['datasets'][0]['data'][] = $value;
|
||||
$chartData['datasets'][0]['backgroundColor'][] = ChartColour::getColour($index);
|
||||
$chartData['labels'][] = $key;
|
||||
$index++;
|
||||
|
Loading…
Reference in New Issue
Block a user