jin0424 opened a new issue #14495:
URL: https://github.com/apache/echarts/issues/14495


   ### Version
   5.0.2
   
   ### Reproduction link
   
[https://echarts.apache.org/examples/zh/editor.html?c=line-simple](https://echarts.apache.org/examples/zh/editor.html?c=line-simple)
   
   ### Steps to reproduce
   All line graphs can be clicked, and this problem exists.You only need to 
write this sentence in the ‘series’.  [{name: '联盟广告', type: 'line', stack: 
'总量', data: [0, 0, 0, 365] }, {name: '邮件营销', type: 'line', stack: '总量', data: 
[0, 0, 0, 116] }]  Of course, there is no problem with the rendered effect at 
first glance, but in fact, if you carefully check the rendered value, you will 
find the problem.
   
   ### What is expected?
   The value rendered by 116 should be lower than the effect rendered by 365.
   
   ### What is actually happening?
   But the actual situation is that after rendering, you will find on the page 
that the following code with a value of 116 has an effect higher than 365! This 
is wrong, this shouldn't happen.
   
   ---
   However, if the value of 116 and the value of 365 are swapped, the effect 
will be no problem.In other words, before assigning values to the "series", 
they should be in order. The first value must be greater than the second value, 
otherwise the above problems will occur, which is problematic and incorrect.I 
think this is a hidden problem, and your company may not have discovered it. I 
think it is my duty to tell you this problem.Because in actual development, the 
actual value of the string is very complicated, so the error will directly 
affect the rendering effect, and sometimes this problem is out of control. If 
you think this problem does not exist, or there is no problem, then I 
misunderstood this problem, please tell me how to avoid this problem correctly. 
If you solve this problem, or if there are other ways to solve this problem, 
please let me know. My email is: [email protected]. Thank you
   
   <!-- This issue is generated by echarts-issue-helper. 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]

Reply via email to