Comments (2)
我看了下,应该是Ionic4的布局方式导致echarts获取到的宽度为0,因此没有显示。
你可以设置下[autoResize]="true"
,让echarts自动调整,还有也可以通过设置initOpts
中的宽度
from ngx-echarts.
非常感谢,好用了。
from ngx-echarts.
Related Issues (20)
- hello, what version of your echart? HOT 1
- flex布局eCharts初始化显示不正常 HOT 5
- ng lint error
- node_modules/echarts-ng2/src/component/echarts-ng2.component.ngfactory.ts is not part of the compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. HOT 2
- 如何使用Echarts 全局对象? HOT 9
- how to use dataZoom events of echats ? HOT 1
- use with Angular5 HOT 2
- echart4.0? HOT 2
- angular5 报错 HOT 4
- 如果能给pc端提供一个根据容器自适应的开关就好了 HOT 3
- echarts-ng2中地图的使用问题
- 如何使用bmap HOT 8
- 如何获得全局 echarts 对象 HOT 1
- TypeError: _this.chart is undefined 报错 HOT 8
- update to 5.0.0 error found version 4, expected 3 HOT 4
- showLoading样式无效 HOT 2
- Cannot read property 'resize' of null or other property HOT 8
- 请问支持angular8吗? HOT 1
- Support Angular 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-echarts.