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/12/05 16:44:08 UTC

[GitHub] [incubator-echarts] fxxjdedd opened a new issue #13764: 5.0 broken when using demand import

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


   ### Version
   5.0.0
   
   ### Steps to reproduce
   ```
   import echarts from 'echarts/lib/echarts'
   import 'echarts/lib/component/dataset'
   import 'echarts/lib/chart/line'
   import 'echarts/lib/component/axis'
   import 'echarts/lib/component/title'
   
   const ins = echarts.init(document.getElementById('chart'))
   ins.setOption({
     title: {
       text: 123
     },
     yAxis: [{}],
     xAxis: [{type: 'category'}],
     dataset: {
       dimensions: ['date', 'pv'],
       source: [
         { date: '1', pv: 123 }
       ]
     }, 
     series: [{
       type: 'line'
     }]
   }) 
   
   ```
   
   ### What is expected?
   work
   
   ### What is actually happening?
   broken
   ![image](https://user-images.githubusercontent.com/13739947/101258200-e8aaee80-375b-11eb-97ee-42cc58ed00f4.png)
   
   
   <!-- 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] pissang commented on issue #13764: 5.0 broken when using demand import

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


   After some test. Seems the demo works after importing bar chart
   ```js
   import "echarts/lib/chart/bar";
   ```
   Going to find out why.
   


----------------------------------------------------------------
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 #13764: 5.0 broken when using demand import

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


   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 question.
   
   If you are interested in the project, you may also subscribe 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.

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] pissang closed issue #13764: 5.0 broken when using demand import

Posted by GitBox <gi...@apache.org>.
pissang closed issue #13764:
URL: https://github.com/apache/incubator-echarts/issues/13764


   


----------------------------------------------------------------
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] fxxjdedd commented on issue #13764: 5.0 broken when using demand import

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


   reproduce demo:
   https://codesandbox.io/s/objective-architecture-p36kq?file=/src/index.js


----------------------------------------------------------------
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] tyfoan commented on issue #13764: 5.0 broken when using demand import

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


   > After some test. Seems the demo works after importing bar chart
   > 
   > ```js
   > import "echarts/lib/chart/bar";
   > ```
   > 
   > Going to find out why.
   
   worked for me
   import 'echarts/lib/coord/cartesian/Grid';
   import 'echarts/lib/coord/cartesian/Axis2D';
   
   


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