echarts-bot[bot] commented on issue #19179: URL: https://github.com/apache/echarts/issues/19179#issuecomment-1752048873
@LAUW2000 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** [Feature] The overlapping problem of the ladder line chart **BODY** ### What problem does this feature solve? I developed a rating chart using echarts' ladder line chart. Since some of the ratings (A AA AAA, etc.) are the same, they overlap. Now I need to display them without overlapping. I would like to ask the boss for a solution: 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? My idea is to convert the rating into a numerical value based on adjacent abscissas. When there are N numbers with the same rating in this abscissa, divide the difference in the ordinates (100) by N+1 to get the offset of the ordinates. Shift the amount to display, for example, A is converted to 100. When there are 3 rated A, 100/4=25, so the display is 125, 150, 175, thereby avoiding overlap, but I don’t know how to implement it with code. Thanks for the guidance. 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. </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: [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]
