The x-axis data is as follows
xData: ['00:00', '00:01', '00:02', '00:03']
At the beginning, the data in the series is written in the following format, the result is that the echart graph does not match, the x-axis is 00:00, and the y-axis is 20
data: [{
name: '00:01',
value: 20
}, {
name: '00:02',
value: 22
}, {
name: '00:03',
value: 28
}]
The solution can be changed to the following format
data: [['00:01', 20], ['00:02', 22], ['00:03', 28]]