Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rich Chart on iOS - BB - Android with similar look and feel

I am looking for a chart library that is available for BB(OS >=5 ), Android(OS >= 2.3) and IOS(OS >= 4). I have two requirements

  1. Chart should be attractive (not basic like drawn by canvas)
  2. look & feel should be same on all platforms.

I have tried many web based frameworks for generating chart but they mostly support higher OS version as they use HTML5 and javascript. I have explored,

  1. HighCharts
  2. Sencha Charts
  3. Fusion Charts
  4. Flotr
  5. and many more...

But all of them do not support BB OS 5. I have googled for native chart API that support BB OS 5 and above but didnt find anything. And whichever I found, they are very basic and not attractive in look. Also, it should be touch compatible and zoom-panning enabled. (like drill down etc..) so I can manipulate its event and show effect on graph. Is there any good suggestions if I am missing any chart or framework that I can use?

like image 466
Nirmal- thInk beYond Avatar asked Sep 03 '12 11:09

Nirmal- thInk beYond


3 Answers

I am not sure if this will resolve your problem, but "Google Chart Tools" is worth trying. Check out the more details on the API here.

https://developers.google.com/chart/

It supports the below chart formats

  1. Bar Charts Box chart
  2. Candlestick chart
  3. Compound Charts
  4. Google-O-Meter Charts
  5. GraphViz Charts
  6. Pie Charts
  7. Radar Charts
  8. Scatter Charts
  9. Venn Charts

Blackberry example using Google Chart API below

http://code.google.com/p/blackberry-google-chart-api/

And about your other problem of manipulating the events and showing effect on graph, is little tricky to handle here. You have to pay a decent amount of time to write your custom API for playing around the different events on your chat downloaded from google. You have to use all your native API's for event handling.

But, again the if it doesn't serve your purpose then write your own library. But my experience there is not such library which provides charts with more customization as your requirement demands.

EDIT-1 Below link provides a basic idea of customizing your own Chart in native blackberry

http://www.codeproject.com/Articles/37205/Creating-a-XY-Chart-Plot-as-a-BlackBerry-Custom-Fi

Good Luck! Happy Coding.

like image 192
Nilanchala Panigrahy Avatar answered Oct 11 '22 19:10

Nilanchala Panigrahy


I'm not sure there is any One native open source library available for all platform which provide you same look and feel except you use open Google chart for all platform .

if you want to make it same you should customize every library .

Here is some of good open source library for

Android:

AChartEngine

whcih support huge range of 2D chart like , line chart area chart, scatter chart, time chart, bar chart, pie chart, bubble chart, doughnut chart, range (high-low) bar chart, dial chart / gauge, combined (any combination of line, cubic line, scatter, bar, range bar, bubble) chart cubic line chart.

ios :

core-plot

which can be customize same as like achart engine with same look and feel .

blackberry:

there no such rich library availbe for blackberry for chart but you can manage to render a graph using some library (Honestly i am not huge fan of it ) like aiCharts or using some J2ME lib. like Tazzix , MIDP2.0 but it seems they are very basic , using those you can not able to customise your app same like iphone and android unless you have great knowledge of openGl for surface rending to customize your app (which is too much hectic and time consuming )

like image 30
dharam Avatar answered Oct 11 '22 17:10

dharam


Perhaps you should try AFreeChart. It's one of the few swing's Jfreechart ports for Android. Check the project here and some screenshots in this link.

Hope this helps you.

like image 21
Thiago M Rocha Avatar answered Oct 11 '22 18:10

Thiago M Rocha