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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user