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/10/26 05:50:02 UTC

[GitHub] [incubator-echarts] JackHlw opened a new pull request #13484: The histogram supports intra group sorting and includes stacking states

JackHlw opened a new pull request #13484:
URL: https://github.com/apache/incubator-echarts/pull/13484


   <!-- Please fill in the following information to help us review your PR more efficiently. -->
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [x] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   The histogram supports intra group sorting and includes stacking states
   
   
   
   ### Fixed issues
   #12886
   <!--
   - #12886
   -->
   
   
   ## Details
   
   ### Before: What was the problem?
   
   The current histogram is only drawn according to the data order, which can not realize the ascending or descending order of multiple groups of data
   
   
   
   ### After: How is it fixed in this PR?
   
   By passing the groupOrder parameter with the same usage as the stack parameter, the intra group ascending and descending order can be realized to help users better analyze the data
   
   
   
   ## Usage
   
   ### Are there any API changes?
   
   When there are multiple sets of series, the grouporder parameter is passed. For example, series [0]. groupOrder ='asc 'or' desc '. The default value is ‘auto’
   
   - [] The API has been changed.
   
   <!-- LIST THE API CHANGES HERE -->
   
   
   
   ### Related test cases or examples to use the new APIs
   ```ts
     series: [
           {
               name: 'Forest',
               type: 'bar',
               barGap: 0,
               label: labelOption,
               groupOrder:‘asc’,
               data: [320, 332, 301, 334, 390]
           },
           {
               name: 'Steppe',
               type: 'bar',
               label: labelOption,
               groupOrder:‘asc’,
               data: [220, 182, 191, 234, 290]
           }
       ]
   ```
   
   
   ## Others
   
   ### Merging options
   
   - [ ] Please squash the commits into a single one when merge.
   
   ### Other information
   


----------------------------------------------------------------
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] JackHlw closed pull request #13484: feat: The histogram supports intra group sorting and includes stacking states

Posted by GitBox <gi...@apache.org>.
JackHlw closed pull request #13484:
URL: https://github.com/apache/incubator-echarts/pull/13484


   


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