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 2020/05/19 08:17:55 UTC

[GitHub] [incubator-echarts] Chellhooo opened a new issue #12660: 自定义柱状图每个category的series顺序

Chellhooo opened a new issue #12660:
URL: https://github.com/apache/incubator-echarts/issues/12660


   ### What problem does this feature solve?
   你好~ 我想问一下柱状图可以提供在每个横坐标定义不同series顺序吗?现在从文档看来,柱状图上每个横坐标上的bar顺序都是相同。
   
   使用情景:比如柱状图的横坐标是日期且有多个legend,希望每个横坐标(即每天)上的柱状图都能按从大到小排列,这样子可以让用户能更快找到每一天的最大值是哪个legend。
   
   如果是文档上已经有实现方法,麻烦希望能告诉我解决方法,非常谢谢~  
   (希望我有表达清楚了我的问题~)
   
   hi~ I'm finding a way to custom series order in in each xAxis category, which may help user to find out the legend of maximum/minimum in each category.
   In bar chart, it seems that the order set in `series` will be apply to each xAxis category.
   If I miss something in document, i'm so sorry and hope you to show me the way.
   
   ### What does the proposed API look like?
   1. 如果需要为echarts提供已经排好序的数据,可能提供一个更为直接的dataset?e.g. `[ {columns:[], rows:[]}, {} ]`
   2. 或者提供类似 dataOrder 的选项,使每个category 的bar 都以相应的顺序展示
   
   暂时没有更好的想法
   
   <!-- 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



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


[GitHub] [incubator-echarts] Ovilia commented on issue #12660: 自定义柱状图每个category的series顺序

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12660:
URL: https://github.com/apache/incubator-echarts/issues/12660#issuecomment-631223514


   不支持这一功能,暂时也没有计划支持。如果一定需要的话,比较简单的做法是,自己 hack 一下,实际传入的 data 是排好序的不同系列的,并且每个柱子用对应真实的系列颜色设置。


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



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


[GitHub] [incubator-echarts] Chellhooo commented on issue #12660: 自定义柱状图每个category的series顺序

Posted by GitBox <gi...@apache.org>.
Chellhooo commented on issue #12660:
URL: https://github.com/apache/incubator-echarts/issues/12660#issuecomment-631282858


   好的谢谢~


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



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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12660: 自定义柱状图每个category的series顺序

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12660:
URL: https://github.com/apache/incubator-echarts/issues/12660#issuecomment-630663228


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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



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


[GitHub] [incubator-echarts] Chellhooo closed issue #12660: 自定义柱状图每个category的series顺序

Posted by GitBox <gi...@apache.org>.
Chellhooo closed issue #12660:
URL: https://github.com/apache/incubator-echarts/issues/12660


   


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



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


[GitHub] [incubator-echarts] Ovilia edited a comment on issue #12660: 自定义柱状图每个category的series顺序

Posted by GitBox <gi...@apache.org>.
Ovilia edited a comment on issue #12660:
URL: https://github.com/apache/incubator-echarts/issues/12660#issuecomment-631223514


   不支持这一功能(不同类目下系列的排序不同),暂时也没有计划支持。如果一定需要的话,比较简单的做法是,自己 hack 一下,实际传入的 data 是排好序的不同系列的,并且每个柱子用对应真实的系列颜色设置。


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



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