开发者

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

I have developed a we开发者_开发百科bpage containing charts using HighCharts. It works fine on the PC safari browser, but takes a long tim to load on an iPhone. What could be the issue?


propably the highcharts library. JavaScript on the iPhone is not nearly as fast as on a desktop. You should take a look at this:

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. And also the iPhone 3GS and 4 are faster, they're not nearly as fast as a desktop computer.


I would guess it so slow, because the iPhone is not fast as your computer.
Maybe take a look at other graphing libraries like gRaphael. It is based on Raphael, which is used in Sencha touch, a JavaScript library for mobile devices and is maybe more optimized.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜