diff --git a/modules/statistiche/js/stats/line_chart.js b/modules/statistiche/js/stats/line_chart.js index 33aebbd98..d4dde5a46 100755 --- a/modules/statistiche/js/stats/line_chart.js +++ b/modules/statistiche/js/stats/line_chart.js @@ -97,6 +97,7 @@ class LineChart extends Stat { var color = null; if (dataset_index != undefined) { color = chart.data.datasets[dataset_index].backgroundColor; + color = color.substr(0, 7); chart.data.datasets.splice(dataset_index, 1); chart.data.labels.splice(dataset_index, 1);