Client - fix statistics chart when switching from line to bar chart
This commit is contained in:
@ -84,6 +84,8 @@ const getStatisticsChartDataset = (
|
||||
dataset.type = 'line'
|
||||
dataset.borderColor = [color]
|
||||
dataset.spanGaps = true
|
||||
} else {
|
||||
dataset.type = 'bar'
|
||||
}
|
||||
return dataset
|
||||
}
|
||||
|
Reference in New Issue
Block a user