You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "zhanghan3 (via GitHub)" <gi...@apache.org> on 2023/08/25 10:32:42 UTC
[GitHub] [echarts] zhanghan3 opened a new issue, #19040: [Bug] 为什么这组数据会将第一个和最后一个点又连接一遍
zhanghan3 opened a new issue, #19040:
URL: https://github.com/apache/echarts/issues/19040
### Version
5.4.3
### Link to Minimal Reproduction
https://codepen.io/Han-Zhang-the-selector/pen/xxmwLdd
### Steps to Reproduce
如codepen所示
### Current Behavior
除了正常的曲线,默认会将第一个和最后一个点自动连接,出现第二条线
### Expected Behavior
只有一条线
### 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.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] plainheart commented on issue #19040: [Bug] 为什么这组数据会将第一个和最后一个点又连接一遍
Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #19040:
URL: https://github.com/apache/echarts/issues/19040#issuecomment-1693179851
I agree with @MatthiasMert. The items in your dataset are not in the correct time order. You can sort the data array before rendering the chart. See this [demo](https://echarts.apache.org/examples/editor.html?c=line-simple&code=MYewdgzgLgBBCmAnAlvCMC8MDaAoGMA3vgTGAIYC28AXDAOQC0ADAHQDsArPQDQkFQAngAdaDADbIw8XvziUQIKAAs6URAFd4fUjAAm5KOTp5dBbAEYAbAE4ATDc4AWK0_bMPPGG0cBdHWaWtg6cAMx2dpwezF4-Tv5y5tb2jnbu7p7erDZWCWY4yQ5OABzsGZlxeYGFNm5O4dGx2aFVukEpThbFVuVNNuytpO0OoY7MFo0wFqzMNoNJwTah7NYTmdPMxfMFi6Eea-szAwFtNWlOTnaTG5zbwzYWLnZO1zPxJ0OFxUtXB14buQ-C3sxVKdmWr2Yx0SOxBxXB9UhgJhw1BzAiUUOzFuQNhdlKoTc0RiUxmyPyqNc9T-pOYLVxqMiOWJ_xmdjuXwsXSJWPpKK-UOsLNp7IZhXYNjpPJJGz5FPF8M4_UhFg5wXYV2KDSxov5wWC4JpG1VYv1xSV2plbLV9h6tnskLl1X1nAmEpVNrsVmez16U093rpD0mPjmpvsSoelr6W3DkSpsxD2Wh8uCnE4K2jWRynuc7BemJJPhxeoj1lKwsqcacwZWSb81ZWdgshb65Od9icnFBiIqzU9V1mnCs9ZNpebYTCNJ8nscLmlfRLqZSYQx9fe49S6Xr7dOixKZUr2Q3y6K-azPide46XR69ZTHZGYyNMzDm-Wq0hsff-2FGwf14OOclyQkuj4PE8LxYiej7fA0L7MLunzBKCGoQliAHIXCCJ7FiSHAvixTopEoGegS0pWohZ
FUqECFXlh-JMiOkK6qexRcsUC60vRBFESszE6p67qEn6spCYqypYmOp4apsWYbKxj4GrRHpxlY5o_CxAbsPag6UTxeJWK6UKSlJAY-lx0lKVcozTtkb6npGFgXtk36OQmplFsmuYZs5eltrmdTYvWYGAa66nlF5tSejWbp2Q245uBYE47jF3acbhUUGcMg6OAJfRWYBLahFO9a-HIvisBAICIFAAAUdXkF4ABGACUmAAHwwOQ2DML4MCMDAzW9b4rUkAAvrgvgANy4CAwhQMg4CYEQJBQIo4iLcIdDELo6jIAA5gdSB0PQ5AAB7IBA9ATQEi1QOIYi7aQj0AGZQKdwDwGAUBIDdBDjQE50AIKXRAO1yEIoinYt1CyLozUgBoYAGIgggAOLkNtMCveQ4gILdJCCKDV0Q3tIhiPQABueNaP9MCAyQj3HSjZOkAYRgmEwbBcPQ5UAwECAoGgdBC6gEC4ON01AA).
--
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] plainheart closed issue #19040: [Bug] 为什么这组数据会将第一个和最后一个点又连接一遍
Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart closed issue #19040: [Bug] 为什么这组数据会将第一个和最后一个点又连接一遍
URL: https://github.com/apache/echarts/issues/19040
--
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 #19040: [Bug] 为什么这组数据会将第一个和最后一个点又连接一遍
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #19040:
URL: https://github.com/apache/echarts/issues/19040#issuecomment-1693149284
@zhanghan3 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**
[Bug] Why does this set of data connect the first and last points again
**BODY**
### Version
5.4.3
### Link to Minimal Reproduction
https://codepen.io/Han-Zhang-the-selector/pen/xxmwLdd
### Steps to Reproduce
as shown in the codepen
### Current Behavior
In addition to normal curves, the first and last points are automatically connected by default, and a second line appears
### Expected Behavior
only one line
### 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] MatthiasMert commented on issue #19040: [Bug] 为什么这组数据会将第一个和最后一个点又连接一遍
Posted by "MatthiasMert (via GitHub)" <gi...@apache.org>.
MatthiasMert commented on issue #19040:
URL: https://github.com/apache/echarts/issues/19040#issuecomment-1693168075
I think there is something wrong with your dataset. Items are in there multiple times
--
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