LAUW2000 opened a new issue, #19179: URL: https://github.com/apache/echarts/issues/19179
### What problem does this feature solve? 我用echarts的阶梯折线图开发了一个评级图,由于有的评级(A AA AAA等)是一样的,会重叠在一起,现在需要不重叠展示,想咨询下大佬的解决方法: I developed A rating chart with the ladder line chart of echarts. Since some ratings (A, AA, AAA, etc.) are the same, they will overlap together. Now I need to show them without overlapping, and I want to consult the solution:  ### What does the proposed API look like? 我的想法是以相邻横坐标为单位,将评级转化为数值,当这段横坐标内评级相同的有N个时,纵坐标的差值(100)除N+1获取到纵坐标的偏移量进行展示,例如A转为100,当评级为A的有3个时,100/4=25,所以展示为125、150、175,从而避免了重叠,但是我不知道用代码如何实现,感谢指导。 My idea is to convert the ratings into numerical values based on adjacent horizontal coordinates. When there are N identical ratings in this horizontal coordinate, the deviation of the ordinate (100) divided by N+1 will be displayed. For example, when A is converted to 100, when there are 3 A ratings, 100/4=25, so 125, 150, 175 will be displayed. This avoids overlap, but I don't know how to implement it in code, thanks for the guidance. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
