Fix visualizzazione color periodi temporali statistiche
This commit is contained in:
parent
c37d40d3c7
commit
e9db2e2010
|
@ -97,6 +97,7 @@ class LineChart extends Stat {
|
||||||
var color = null;
|
var color = null;
|
||||||
if (dataset_index != undefined) {
|
if (dataset_index != undefined) {
|
||||||
color = chart.data.datasets[dataset_index].backgroundColor;
|
color = chart.data.datasets[dataset_index].backgroundColor;
|
||||||
|
color = color.substr(0, 7);
|
||||||
|
|
||||||
chart.data.datasets.splice(dataset_index, 1);
|
chart.data.datasets.splice(dataset_index, 1);
|
||||||
chart.data.labels.splice(dataset_index, 1);
|
chart.data.labels.splice(dataset_index, 1);
|
||||||
|
|
Loading…
Reference in New Issue