views:

97

answers:

3

Hi

I am chewing through a specification for an iPhone Web App (NOT native). The request implies a lot of general charting functionality, mostly line chart and bar charts. On the implementation side of things, it means a lot of re-formatting of existing web content using an iPhone Web App framework (most likely JQTouch).

Given the capabilities of the device browser, is there a specific charting library you'd recommend, which runs acceptably on the mobile Safari with reasonable overhead?

We are interested in the following charting functionality:

  • Line and bar series
  • Legend display on chart area or outside
  • Dynamic series support (e.g. show/hide series)
  • Dynamic series creation in JS

I have looked at Flot so far.

+1  A: 

The free and excellent Google Chart Tools lets you create both static image charts and interactive (javascript) charts.

They look quite nice:

alt text

iansinke
+2  A: 

There are several jQuery based plugins for that (including Flot):

http://www.reynoldsftw.com/2009/02/6-jquery-chart-plugins-reviewed/

And the Filament Group has a nice one as well:

http://www.filamentgroup.com/lab/update_to_jquery_visualize_accessible_charts_with_html5_from_designing_with/

I've used the latter though we eventually scrapped it when we realized we only needed bar graphs and it was easier to just roll-our-own simple implementation using a bit of jQuery animation and some divs.

DA
A: 

Can i use the below framework? will it support dynamic data updates?

And the Filament Group has a nice one as well:

http://www.filamentgroup.com/lab/update_to_jquery_visualize_accessible_charts_with_html5_from_designing_with/

Pelase help me I am very new to iPhone and also to Javascript.

Thanks in advance.

Regard, Karuna.

iphoneboy