2👍
✅
Looking at your chart it’s treating the labels als multiline since it’s an array in an array.
If you remove the array brackets around the labels variable and the array brackets around the data variable it should work.
So you would get:
var data = {
labels: this.dataTime,
datasets: [{
label: 'Custom Label Name',
backgroundColor: gradient,
pointBackgroundColor: 'white',
borderWidth: 1,
borderColor: '#911215',
data: this.dataPrice,
}]
};
Source:stackexchange.com