iPhone Opensource Core Plot Framework
July 1, 2009 § 1 Comment
Apple SDK doesn’t come with any Graph framework. Core-plot is one of the rare opensource plotting framework for iphone. It provides 2D visualization of data, and is tightly integrated with Apple technologies like Core Animation, Core Data, and Cocoa Bindings.
Core Plot is based on Core Animation. You have to add QuartzCore framework to Xcode project.
A detail tutorial on how to integrate Core Plot framework to your Xcode project is here.
Add this line to the porject:
First, drag the CorePlot-CocoaTouch.xcodeproj file into your iPhone application’s Xcode project (making sure that nothing’s copied and the paths are relative to your project). Then go to the Targets tab in Xcode, select your application’s target, and bring up the inspector. Go to the General settings page and add the CorePlot-CocoaTouch library as a direct dependency.
Core Plot is built as a static library for iPhone, so you’ll need to drag the libCorePlot-CocoaTouch.a static library from under the CorePlot-CocoaTouch.xcodeproj group to your target’s Link Binary With Libraries folder.
You’ll also need to point to the right header location. Under your Build settings, set the Header Search Paths to the relative path from your application to the framework/ subdirectory within the Core Plot source tree. Make sure to make this header search path recursive. You need to add -ObjC to Other Linker Flags as well.
Google Plot API
Weight Diary Plot framework