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/09/01 09:07:12 UTC

[GitHub] [incubator-echarts] malkrad opened a new issue #13218: Multiple independent graphs stacking on the same basis

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


   ### What problem does this feature solve?
   If a developer wants to show multiple graphs that aren't related to each other, but all of them should be stacked on one basis graph (e.g. https://jsfiddle.net/malkrad/37e2qwfj/) then the only possible way is to make a copy of the base graph and stack the different graphes on it.
   
   To explain the example in https://jsfiddle.net/malkrad/37e2qwfj/ :
   
   * Green and Blue graphs aren't related, however both of them should be stacked independently on Red graph.
   * The way it is achieved in the example will start to be problematic upon activating the tooltip, because the Red graph would be shown in the tooltip multiple times.
   
   ### What does the proposed API look like?
   Instead of the stack being a string, it could have another possibility as an array of strings (in Red graph), and each graph having a string in stack (Blue and Green graphs) that is contained in the array would be stacked on it -> Blue and Green graphs are stacked on Red but not on each other, while Red graph isn't duplicated and doesn't show up two times inside the tooltip.
   e.g.:
   ```js
   option = {
     legend: {
       data: ['red', 'blue', 'green']
     },
     ...
     series: [{
         name: 'red',
         ...
         stack: ['one', two]
       },
       {
         name: 'blue',
         ...
         stack: 'one'
       },
       {
         name: 'green',
         ...
         stack: 'two'
       }
     ]
   };
   ```
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. 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] heyguojing commented on issue #13218: Multiple independent graphs stacking on the same basis

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


   read document
   var chart = echarts.init(document.getElementById('main'), 'vintage');
   vintage param is your theme


----------------------------------------------------------------
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] malkrad commented on issue #13218: Multiple independent graphs stacking on the same basis

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


   @heyguojing Thanks for your reply, but theme has nothing to do with the issue.


----------------------------------------------------------------
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 #13218: Multiple independent graphs stacking on the same basis

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


   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