1
0
mirror of https://github.com/elisspace/FxLifeSheet.git synced 2026-08-29 15:44:00 +00:00

Fix inverse mode for pie chart graphs

This commit is contained in:
Felix Krause
2022-03-15 17:48:33 +01:00
parent a950133a51
commit 6bd7ca662e

View File

@@ -182,7 +182,7 @@ function renderPieHistoryChart(yearsData, key, groupByMonth, nodeId) {
let colorToUse = null;
if (colors) {
colorToUse = invertedColors ? colors[numberOfValues - i] : colors[i]
colorToUse = invertedColors ? colors[numberOfValues - 1 - i] : colors[i]
}
data.push({