0

Possible Duplicate:
Objective-C Charting Framework

Does anyone know how to draw graphs and bar charts in xcode? Is it also possible to use data from an sqlite database to create these graphs? Also can these be autoupdated when the database is changed.

Thank you for your help.

Community
  • 1
  • 1
  • Even though you don't specify it in your tags, it appears you're on iOS, so this question should also apply: [Is there a good charting library for iPhone?](http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone). As suggested in these questions, if you grab the Core Plot framework, look at the sample applications that come with it. They show how to draw bar charts on Mac and iOS. – Brad Larson Apr 21 '11 at 16:08

3 Answers3

2

Try CorePlot, it has a lot of nice features and can draw different types of graphs.

zekel
  • 9,227
  • 10
  • 65
  • 96
Sabobin
  • 4,256
  • 4
  • 27
  • 33
0

Try DSBarChart. It is created for this exact same purpose.

dhilipsiva
  • 3,688
  • 1
  • 24
  • 35
0

Those are 3 separate questions.

  1. graphs and charts: try Google Charts API
  2. Yes, it is possible if you write the code to fetch the data and pass it to the graphing api.
  3. Yes, they can if you write the right code to integrate the db changes to your view controllers.
Rayfleck
  • 12,116
  • 8
  • 48
  • 74