You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/01/05 08:38:22 UTC
[GitHub] [echarts] zhaoyanga opened a new issue #16304: 放大后,x轴对应的时间点没有数据,线会显示断开,或者是很大一片时间区域没有线
zhaoyanga opened a new issue #16304:
URL: https://github.com/apache/echarts/issues/16304
### Version
4.0
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
一年的数据,若干条线,每条线的时间点都不一样,比如第一条可能只要1月到12月的某几天有数据,每条都不一样,常规下是正常连在一起的,放大后,因为X轴对应的时间点没有数据,所以整个图例是空白的,或者只有2个点,有没有什么Api可以连接空白的
### Current Behavior
一年的数据,若干条线,每条线的时间点都不一样,比如第一条可能只要1月到12月的某几天有数据,每条都不一样,常规下是正常连在一起的,放大后,因为X轴对应的时间点没有数据,所以整个图例是空白的,或者只有2个点,有没有什么Api可以连接空白的
### Expected Behavior
有没有什么Api可以连接空白的
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] echarts-bot[bot] commented on issue #16304: 放大后,x轴对应的时间点没有数据,线会显示断开,或者是很大一片时间区域没有线
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16304:
URL: https://github.com/apache/echarts/issues/16304#issuecomment-1002846605
@zhaoyanga It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
After zooming in, there is no data for the time point corresponding to the x-axis, the line will show disconnected, or there will be no line in a large area of time
**BODY**
### Version
4.0
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
One year’s data, several lines, and the time point of each line is different. For example, the first line may only have data for a few days from January to December, and each line is different. Normally, it is connected together normally. Yes, after zooming in, because there is no data at the time point corresponding to the X axis, the entire legend is blank, or there are only 2 points, is there any API that can be connected to the blank
### Current Behavior
One year’s data, several lines, and the time point of each line is different. For example, the first line may only have data for a few days from January to December, and each line is different. Normally, it is connected together normally. Yes, after zooming in, because there is no data at the time point corresponding to the X axis, the entire legend is blank, or there are only 2 points, is there any API that can be connected to the blank
### Expected Behavior
Are there any APIs that can be connected to the blank
### Environment
```markdown
-OS:
-Browser:
-Framework:
```
### Any additional comments?
_No response_
</details>
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] zhaoyanga commented on issue #16304: 放大后,x轴对应的时间点没有数据,线会显示断开,或者是很大一片时间区域没有线
Posted by GitBox <gi...@apache.org>.
zhaoyanga commented on issue #16304:
URL: https://github.com/apache/echarts/issues/16304#issuecomment-1004565640
> https://echarts.apache.org/zh/option.html#series-line.connectNulls
不是的,是用dataZoom放大后,对应x轴没有数据的没有线,空白的,应为是一年的数据,所以如果没有api的话需要补值,一年的值都要补
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] SnailSword commented on issue #16304: 放大后,x轴对应的时间点没有数据,线会显示断开,或者是很大一片时间区域没有线
Posted by GitBox <gi...@apache.org>.
SnailSword commented on issue #16304:
URL: https://github.com/apache/echarts/issues/16304#issuecomment-1002974623
https://echarts.apache.org/zh/option.html#series-line.connectNulls
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] zhaoyanga edited a comment on issue #16304: 放大后,x轴对应的时间点没有数据,线会显示断开,或者是很大一片时间区域没有线
Posted by GitBox <gi...@apache.org>.
zhaoyanga edited a comment on issue #16304:
URL: https://github.com/apache/echarts/issues/16304#issuecomment-1004587421
```ts
series:[
{
name:"a",
data:[
{
value:['2021-01-01 00:00','10000']
},
{
value:['2021-02-03 00:00','9999']
},
{
value:['2021-06-03 00:00','9999']
},
{
value:['2021-09-03 00:00','9999']
}
]
},
{
name:"b",
data:[
{
value:['2021-01-01 00:00','10000']
},
{
value:['2021-02-01 00:00','9999']
},
{
value:['2021-03-03 00:00','9999']
},
{
value:['2021-12-03 00:00','9999']
}
]
}
]
```
这种的结构,如果我使用datazoom缩放到10月到12月,也就是没有数据的这个时间,会显示空白
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] zhaoyanga commented on issue #16304: 放大后,x轴对应的时间点没有数据,线会显示断开,或者是很大一片时间区域没有线
Posted by GitBox <gi...@apache.org>.
zhaoyanga commented on issue #16304:
URL: https://github.com/apache/echarts/issues/16304#issuecomment-1004586852
[](url)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] zhaoyanga closed issue #16304: 放大后,x轴对应的时间点没有数据,线会显示断开,或者是很大一片时间区域没有线
Posted by GitBox <gi...@apache.org>.
zhaoyanga closed issue #16304:
URL: https://github.com/apache/echarts/issues/16304
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] zhaoyanga commented on issue #16304: 放大后,x轴对应的时间点没有数据,线会显示断开,或者是很大一片时间区域没有线
Posted by GitBox <gi...@apache.org>.
zhaoyanga commented on issue #16304:
URL: https://github.com/apache/echarts/issues/16304#issuecomment-1004587421
series:[
{
name:"a",
data:[
{
value:['2021-01-01 00:00','10000']
},
{
value:['2021-02-03 00:00','9999']
},
{
value:['2021-06-03 00:00','9999']
},
{
value:['2021-09-03 00:00','9999']
}
]
},
{
name:"b",
data:[
{
value:['2021-01-01 00:00','10000']
},
{
value:['2021-02-01 00:00','9999']
},
{
value:['2021-03-03 00:00','9999']
},
{
value:['2021-12-03 00:00','9999']
}
]
}
]
这种的结构,如果我使用datazoom缩放到10月到12月,也就是没有数据的这个时间,会显示空白
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org