I have developed a webpage 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?
A:
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.
jigfox
2010-07-22 13:35:04
yea , that's definitely is the case. can u please recommend any low resource taking js libraries for iphone . thanks
sanre6
2010-07-26 06:37:57
A:
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.
Hippo
2010-07-22 13:36:52
gRaphael has no documentation buddy ...how do i get started. the google group is not much help either and can u please recommend any low resource taking js libraries for iphone . thanks
sanre6
2010-07-26 06:36:41
I never used it, but I heard a lot of good things about this library, thats why I said "maybe take a look" and not "you should use"...
Hippo
2010-07-26 13:17:40