You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "4bbada (via GitHub)" <gi...@apache.org> on 2023/06/19 02:17:58 UTC

[GitHub] [echarts] 4bbada commented on issue #18771: [Bug] Can't I Stack chart Yaxis sorting?

4bbada commented on issue #18771:
URL: https://github.com/apache/echarts/issues/18771#issuecomment-1596387227

   @Ovilia 
   
   > 시리즈는 에 정의된 순서에 따라 누적됩니다 `series`. 따라서 첫 번째 시리즈는 `email`맨 아래에 쌓아야 합니다.
   
   So I tried to define the series by pre-sorting the desired values.
   
   If the series has a time value and a count value
   The time value is the x-axis and the count value is the cumulative value.
   
   `series = [{time: 6:00, value: '1'},
   {time: 7:00, value: '1'},
   {time: 8:00, value: '2'},
   {time: 9:00, value: '6'},
   {time: 10:00, value: '7'},
   {time: 11:00, value: '1'},
   ]`
   
   It seems to me that it is not possible to sort according to the value of count (the lower the count, the lower it is) in the stack chart.
   When I tried, some got sorted, but that's because time values ​​sort first, count values ​​second.
   And that's the correct behavior.
   Is my understanding correct?


-- 
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