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 2022/10/12 16:37:14 UTC

[GitHub] [echarts] bbhxwl opened a new issue, #17759: [Bug] What is the difference between these two references?

bbhxwl opened a new issue, #17759:
URL: https://github.com/apache/echarts/issues/17759

   ### Version
   
   5.4.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   The following methods can be used.
   
   
   ```
   import {init} from 'echarts'
   let myChart=init(document.getElementById("m"))
   ```
   The following methods cannot be used. I don't know why? Isn't it the same?
   
   
   ```
   import c from 'echarts'
       let myChart=c.init(document.getElementById("m"))
   
   ```
   
   ### Current Behavior
   
    The following methods can be used.
   
   
   ```
   import {init} from 'echarts'
   let myChart=init(document.getElementById("m"))
   ```
   The following methods cannot be used. I don't know why? Isn't it the same?
   
   
   ```
   import c from 'echarts'
       let myChart=c.init(document.getElementById("m"))
   
   ```
   
   ### Expected Behavior
   
   The following methods can be used.
   
   
   ```
   import {init} from 'echarts'
   let myChart=init(document.getElementById("m"))
   ```
   The following methods cannot be used. I don't know why? Isn't it the same?
   
   
   ```
   import c from 'echarts'
       let myChart=c.init(document.getElementById("m"))
   
   ```
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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.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] plainheart closed issue #17759: [Bug] What is the difference between these two references?

Posted by GitBox <gi...@apache.org>.
plainheart closed issue #17759: [Bug] What is the difference between these two references?
URL: https://github.com/apache/echarts/issues/17759


-- 
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] plainheart commented on issue #17759: [Bug] What is the difference between these two references?

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

   Since ECharts v5, the default import is no longer supported. Please refer to the [v5 upgrade guide](https://echarts.apache.org/handbook/en/basics/release-note/v5-upgrade-guide/#importing-echarts).


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