mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-19 21:10:49 +01:00
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…
x
Reference in New Issue
Block a user