Comments (7)
@fengbo102
你操作系统是哪个版本?
在较新的机型上(比如iPhone 11)上是否有问题
from flutter_echarts.
@entronad
操作系统: ios 10.3.1
在较新的机型上(比如iPhone 11)没有问题
专门下载了10.3的模拟器去测试iphone6, iphone6 plus, iphone6s, iphone7都有这个问题。
from flutter_echarts.
较老的机型上找不到 chart.setOption 应该是脚本来不及加载完引起的。
按照 webview_flutter 的说明 onPageFinished 会在所有脚本加载完之后才执行,
但这里可能因为老的机器无法在合适的时间内加载完脚本提前触发 onPageFinished ,
也可能与 webview_flutter 在 ios 上现存的一些问题有关 flutter/flutter#47677
目前 ios 端的 webview_flutter 在加载和触发 onPageFinished 的行为上比较诡异,没有特别好的解决方案,我会密切关注它的改进。
from flutter_echarts.
@entronad 问题找到了, const chart = echarts.init(document.getElementById('chart'), null);
将const改为var就可以了, ios旧版本对const支持不太好。
from flutter_echarts.
将这个改动加入了,请更新到 1.2.1 试一下是否可行。
from flutter_echarts.
@entronad 1.2.1 在ios10.3.1上测试通过;ios版本也测试没问题
from flutter_echarts.
@fengbo102
谢谢!
from flutter_echarts.
Related Issues (20)
- echart - gauge seems glitchy
- Call Dart function with parameters
- Feature Request - Renko Charts HOT 1
- Some Androids do not display tooltips
- App crashes to load
- Code srevh
- webview_flutter ^4.0.1 no match HOT 5
- Unsupported operation:Trying to use the default webview implementation for TargetPlatfom.windows butthere isnt a default one See also: https://flutter.dev/docs/testing/errors HOT 1
- 请升级下依赖,比如webview_flutter,谢谢 HOT 2
- Safari is not markPoint compatible
- 界面back的时候flutter_echarts执行了clearCache操作,每次都会报错
- Using svg file
- 使用gauge仪表盘,界面显示空白。请问是什么原因,如何修改
- 在下面这段使用到flutter_echarts的代码中,tooltips里formatter的onclick填入什么样的方法,才能在onMessage中获取到数据?
- Convert Flutter Echarts to pdf from flutter APP HOT 1
- Chart Freeze when we have a more than 1000 data points
- 各位大佬 WebView.destroy() called while WebView is still attached to window 这问题是怎么解决的。。。 HOT 4
- How to use flutter echarts component loading a China map has city location, require a demo.
- Recently change error, Come from javaScript resource.Please solve it in original resource.Thanks. HOT 2
- 安卓设备报错 HOT 1
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 flutter_echarts.