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/07/05 10:11:49 UTC

[GitHub] [incubator-echarts] SimoralX opened a new issue #12912: dataset是否可以根据某个字段绘制重叠柱状图

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


   ### What problem does this feature solve?
   数据格式:
   ```js
   data:[{
     date: '07-05',
     total: 100,
     type: 1,
   }, {
     date: '07-05',
     total: 200,
     type: 0,
   }, {
     date: '07-06',
     total: 300,
     type: 1,
   }]
   ```
   
   我的需求就是,X轴绘制 date(日期),Y轴绘制 total(金额),type为0时绘制支出分类,type为1时绘制收入分类。那这种data怎么配置呢?谢谢
   
   ### What does the proposed API look like?
   ```js
   chart
               .interval()
               .position('date*total')  // 设置 X * Y 轴
               .color('type', [app.theme.main, app.theme.assist]);  // 绘制两种类型的柱状图
   ```
   
   <!-- 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] echarts-bot[bot] commented on issue #12912: dataset是否可以根据某个字段绘制重叠柱状图

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


   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