Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Make charts easier to read
Simon Hanna26561a395df5
diff --git a/public/js/ff/charts.js b/public/js/ff/charts.jsindex 5e5bf17ce0..86ece1467e 100644--- a/public/js/ff/charts.js+++ b/public/js/ff/charts.js@@ -38,7 +38,7 @@ var strokePointHighColors = [];for (var i = 0; i < colourSet.length; i++) {- fillColors.push("rgba(" + colourSet[i][0] + ", " + colourSet[i][1] + ", " + colourSet[i][2] + ", 0.2)");+ fillColors.push("rgba(" + colourSet[i][0] + ", " + colourSet[i][1] + ", " + colourSet[i][2] + ", 0.5)");strokePointHighColors.push("rgba(" + colourSet[i][0] + ", " + colourSet[i][1] + ", " + colourSet[i][2] + ", 0.9)");}@@ -60,7 +60,8 @@ function colorizeData(data) {for (var i = 0; i < data.count; i++) {newData.labels = data.labels;var dataset = data.datasets[i];- dataset.backgroundColor = fillColors[i];+ dataset.fill = false;+ dataset.backgroundColor = dataset.borderColor = fillColors[i];newData.datasets.push(dataset);}return newData;