mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -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');
|
$value = bcmul($value, '-1');
|
||||||
}
|
}
|
||||||
|
|
||||||
$chartData['datasets'][0]['data'][] = round($value, 2);
|
$chartData['datasets'][0]['data'][] = $value;
|
||||||
$chartData['datasets'][0]['backgroundColor'][] = ChartColour::getColour($index);
|
$chartData['datasets'][0]['backgroundColor'][] = ChartColour::getColour($index);
|
||||||
$chartData['labels'][] = $key;
|
$chartData['labels'][] = $key;
|
||||||
$index++;
|
$index++;
|
||||||
|
Loading…
Reference in New Issue
Block a user