简体   繁体   English

iPhone Safari浏览器需要大量时间才能在仪表板上呈现图表

[英]Iphone safari browser taking lot of time to render charts in a dashboard

I have developed a webpage containing charts using HighCharts . 我已经开发了一个使用HighCharts包含图表的网页。 It works fine on the PC safari browser, but takes a long tim to load on an iPhone. 它可以在PC Safari浏览器上正常运行,但是要花很长时间才能在iPhone上加载。 What could be the issue? 可能是什么问题?

propably the highcharts library. 最好是highcharts库。 JavaScript on the iPhone is not nearly as fast as on a desktop. iPhone上的JavaScript几乎没有台式机快。 You should take a look at this: 您应该看一下:

http://ajaxian.com/archives/iphone-javascript-and-spec-benchmark http://ajaxian.com/archives/iphone-javascript-and-spec-benchmark

Here you can see that the iPhone 2G was almost 65 times slower as the macbook. 在这里,您可以看到iPhone 2G的速度几乎是Macbook的65倍。 And also the iPhone 3GS and 4 are faster, they're not nearly as fast as a desktop computer. 而且iPhone 3GS和iPhone 4速度更快,几乎不如台式计算机快。

I would guess it so slow, because the iPhone is not fast as your computer. 我猜它这么慢,因为iPhone不如您的计算机快。
Maybe take a look at other graphing libraries like gRaphael . 也许看看gRaphael等其他图形库。 It is based on Raphael , which is used in Sencha touch , a JavaScript library for mobile devices and is maybe more optimized. 它基于Raphael ,该语言用于移动设备的JavaScript库Sencha touch中 ,并且可能进行了优化。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM