yangdachu opened a new issue #13136:
URL: https://github.com/apache/incubator-echarts/issues/13136
### Version
4.8.0
### Steps to reproduce
```
const option = {
tooltip: {
trigger: 'axis',
axisPointer: false,
animation: false
},
color: ['blue', 'yellow', 'green'],
legend: {
data: chartData.map(item => item.name)
},
animation: false, animationDurationUpdate: 0,
grid: {
left: '3%',
right: '4%',
bottom: '10%',
containLabel: true
},
backgroundColor: 'transparent',
xAxis: {
type: 'time'
},
yAxis: {
type: 'value',
boundaryGap: [0, '100%'],
splitLine: {
show: false
}
},
dataZoom: [{
// startValue: xAxisData[0],
textStyle: {
color: '#fff'
}
}, {
type: 'inside'
}],
series: yData
```
## series data数据结构
```
const data = {
'一曲线': [
["2020/08/15 12:00:05.000", 2126],
["2020/08/15 12:00:20.230", 21126],
["2020/08/15 12:00:40.000", 21],
["2020/08/15 12:00:41.760", 2116] // ...长度为610
],
'二曲线': [
["2020/08/15 12:00:03.000", 2126],
["2020/08/15 12:00:12.230", 999],
["2020/08/15 12:02:22.000", 21],
["2020/08/15 12:00:41.760", 2116] // ...长度为200
],
'三曲线': [
["2020/08/15 12:00:02.120", 2126],
["2020/08/15 12:00:20.230", 2222],
["2020/08/15 12:04:33.000", 21],
["2020/08/15 12:09:41.123", 12122] // ...长度为300
]
}
```
### What is expected?
1、xAxis为'time'根据可以设置时间区间,并且x轴数据可以按照毫秒时间显示。
2、time匹配数据的时间,进行数据显示,如果匹配不到的则连接前后来个点为直线
### What is actually happening?
1、xAxis为'time' 这样设置后数据不对,没有按照series里的数据显示
2、如果数据series多条曲线长度不一样的话,希望能按照设置的区间时间去连接中间没有的数据
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
<!-- This issue is in English. DO NOT REMOVE -->
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]