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/01 10:19:58 UTC

[GitHub] [incubator-echarts] zevero opened a new issue #13380: echarts 5.0 not working with react

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


   ### Version
   5.0.0-alpha.2
   
   ### Reproduction link
   [https://codesandbox.io/s/react-hooks-echarts-forked-ib070?file=/src/useECharts.js](https://codesandbox.io/s/react-hooks-echarts-forked-ib070?file=/src/useECharts.js)
   
   ### Steps to reproduce
   Click on Link
   Choose Version echart 5.0.0-alpha.2 or echart 5.0.0-alpha.1
   
   ### What is expected?
   It should work as with
   echart 4.9.0
   
   ### What is actually happening?
   Error echarts.getInstanceByDom undefined in file useEcharts.js
   
   ---
   I could not find any documentation on Version 5.0? Did the api change?
   
   I also tried echarts-for-react 2.0.16. It works with 3.x and 4.x but not with 5.x
   
   How can Version 5.0 be run within react?
   
   <!-- 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] plainheart edited a comment on issue #13380: echarts 5.0 not working with react

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


   Hi, @zevero 
   For the version of 5.0, you need to use `import * as echarts from "echarts"`.
   
   The related documentation will be put online after release in early October.


----------------------------------------------------------------
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] plainheart commented on issue #13380: echarts 5.0 not working with react

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


   Hi, @zevero 
   For the version of 5.0, you need to use `import * as echarts from "charts"`.
   
   The related documentation will be put online after release in early October.


----------------------------------------------------------------
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 #13380: echarts 5.0 not working with react

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


   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