You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/11/22 09:55:39 UTC

[GitHub] [incubator-echarts] wonderjar opened a new issue #11702: 堆叠柱状图,各个category中的bar支持其他排序方式

wonderjar opened a new issue #11702: 堆叠柱状图,各个category中的bar支持其他排序方式
URL: https://github.com/apache/incubator-echarts/issues/11702
 
 
   ### What problem does this feature solve?
   堆叠柱状图里多个series比如A,B,C三个series,使用同一个stack,每个series的bar总是以固定的顺序堆叠上去,每个category的bar都是A-B-C的顺序。希望有方式能更改这个排序方式,能根据在一个category里各自的数值,比如从大到小排序
   
   ### What does the proposed API look like?
   不知道最佳方案是如何,也许是在options顶层,增加属性,stack
   ```
   {
     stack: [
       {
         name: "stack1",
         order: "default" | "asc" | "desc" | sort_func 
       }
     ]
   }
   ```
   
   <!-- 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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org