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 2021/10/17 00:43:33 UTC

[GitHub] [echarts] Edo2610 opened a new issue #15889: Multiple echarts in same body

Edo2610 opened a new issue #15889:
URL: https://github.com/apache/echarts/issues/15889


   ### Version
   5.2.1
   
   ### Steps to reproduce
   I create my own library in which I insert an eCharts chart. Then when I use my library selector in my app, I pass to library the configuration to use as option for myChart.setOption (like tooltip true/false, legend true/false, and so on). If I call multiple times my lib selector in same body then compare only one chart with the option of the last chart that receives the option.
   I think its depends on id="main" from eCharts
   
   <div id="main" style="width: 600px;height:400px;"></div>
   
   ### What is expected?
   I would to visualize multiple chart indipendent each ther
   
   ### What is actually happening?
   I visualize only one chart.
   Plese not I won't single chart splitted with grid but I would different chart in the same boy
   
   <!-- 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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] [echarts] Tuckbros edited a comment on issue #15889: Multiple echarts in same body

Posted by GitBox <gi...@apache.org>.
Tuckbros edited a comment on issue #15889:
URL: https://github.com/apache/echarts/issues/15889#issuecomment-986806081


   Hello,
   Kind on the same here. I am setting up 2 distinct charts with dynamic updating (time xAxis). The dynamic updating works. But the legend labels of the first chart are not the one I defined its own legend option. They are coming from the legend of the second chart.
   Do not take into account, my issue is coming from : [https://stackoverflow.com/questions/12690107/clone-object-without-reference-javascript](https://stackoverflow.com/questions/12690107/clone-object-without-reference-javascript)


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] [echarts] Tuckbros commented on issue #15889: Multiple echarts in same body

Posted by GitBox <gi...@apache.org>.
Tuckbros commented on issue #15889:
URL: https://github.com/apache/echarts/issues/15889#issuecomment-986806081


   Hello,
   Kind on the same here. I am setting up 2 distinct charts with dynamic updating (time xAxis). The dynamic updating works. But the legend labels of the first chart are not the one I defined its own legend option. They are coming from the legend of the second chart.


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] [echarts] echarts-bot[bot] commented on issue #15889: Multiple echarts in same body

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


   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 it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so.
   
   *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
   
   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 question.
   
   If you are interested in the project, you may also subscribe to our [mailing 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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] [echarts] Ovilia commented on issue #15889: Multiple echarts in same body

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


   You need to set different `id` to dom containers of the charts and make sure they are selected correctly. 


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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